Jump to content

megosh

Members
  • Posts

    16
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by megosh

  1. Ok... I've done a bit of work on it and from what I can see, this patch changed things: http://github.com/mangos/mangos/commit/68a2ec132119cf1021231249e7f0a53932aef06b I'm no expert in php but from what i gathered here: http://wiki.udbforums.org/index.php/Character_data I assumed all I needed to do was add two variables after index: PLAYER_FIELD_MOD_HEALING_DONE_POS. With that basic knowledge and no experience what so ever in Index Substrings, I attempted to add it with the following php page... http://pastebin.ca/1560254 I used info gathered from the UDB wiki page and misc SQL help pages I googled. Unfortunatly this didn't work... So I'm back at square one, with no idea really where to go. My next idea was to make a c++ function to save the new data blob by calling all the functions in the current data blob... Not really something that could be thrown together in 5 mins, but it's worth a shot. Before I end up going on this endless spree of trial and error, does anyone know a better solution?
  2. Insider = KAPATEJIb. Different name, same person.
  3. I've been messing around with things on the 320 branch and found something interesting. I do completely understand that it is not supported at this point in time. I'm wondering if anyone knows what exactly was changed in the character data blob. I don't see any documented changes throughout the updates but I will admit there are still a few pages to look at. Thanks in advance - Megosh
  4. I apologize for my absence, it's been a busy week. Like I said earlier, its taken from Insider's patches. He has a GIT fork that he is constantly updating. It however includes EVERY patch he can find that works. Go through the commits to find where he added the anticheat and where he applied updates to it. http://github.com/insider/mangos/commits/ OR Here is the link to the original patch that I'm specifically using with rev 8400~. So far I've found no serious bugs. http://pastebin.ca/1538643
  5. I hate to bring up an old topic but... i'm really interested in the master key password addition. I'd love to know where to get started on it if anyone could direct me...
  6. Taken from Insider's cumulative patches: http://pastebin.com/f7d01b5d2 I use it and it works perfectly.
  7. UPDATE: That script only adds gold if your in the same party... I need it to add it if you help kill them, regardless of the faction or group.
  8. That is exactly what i was looking for... must have missed it. THANKS!
  9. Ok... I figured out the drop group issue. I'm still looking for a solution to the gold on assist.
  10. Instantly after posting this I think I just figured out how to implement the no-group on 'x' map system... The purpose is that I don't want people pvping while in a group. I'll try adding a check, on kill. To see of a player is in a group and on that map. If they are, they get booted! Anyone think that will work?
  11. I've been trying to figure this out for the first problem for the last week and haven't come up with a solution. I'm trying to make players obtain 50s on assist kill and when someone in a party kills a player. I tried popping a few things into the HK handler, but that failed and cause my server to crash... as well as about 5 other places with the same failure. Does anyone know where in player.cpp or unit.cpp I need to stick the script? The second question involves something completely different: I'm trying to make it so players can't be in a group while on a certain map. I assume that the script would need to periodically check if the player is both on this map and in a group. If they are, disband it. I understand c++ to an extent, but this one is completely beyond me at this point in time. I understand that there could be some side effects to having such a script, but I'm willing to sacrifice speed for it. >.< If you were to give me some ideas as how I would go about starting this script, I'd be more than happy to figure it out. Any help regarding ether problem would be greatly appreciated.
  12. I don't know if this still applies... but I read somewhere that the data received by the client is different than the data handled by the server. Meaning that the dodge % server side is correct, but visible stats client side are off slightly. The same may apply for other stats as well, I'm just not sure. Add a simple debug log script to output the current dodge of player id x in the source to the console or log file. I'm not on a comp with mangos pulled atm, so I can't write one.
  13. After adding it I ran into a small problem: There is no GetSession() for pVictim... and I can't see anything that resembles what I need.
  14. A quick few questions as stated in the thread name... how do you return the IP from pPlayer and pVictim. I'm working on a script similar to receiving tokens on pvp kill, in player.cpp. To keep possible exploits down I would like to call the IPs for both characters and compare then, if the same; the code breaks and nothing takes place. How would I get their IP? Possibly calling the logon DB and getting the last_ip? if so, whats the best function to get it, pVictim->GetOwnerGUID? Would that only get the player GUID and not the account? I think at this point you get what I'm trying to do, any explanation would be wonderful. -Megosh
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use