/rewind
I've seen several people asking about this, so I figured I'd take a look into it.
Player Movement only stores coordinates to /rewind if they were significant, yet not a very large movement update. This prevents someone from intra-zone gating, then /rewind to get back to a spawn, etc. One thing, when doing the diff, be sure that you update patch_Titanium.conf and move it into your server's folder, since this patch updates it (if you don't, then OP_Rewind won't get identified, and the rest of the patch won't do anything). Here ya go, let me know what you think: This was diffed against 0.7.0-1106: Code:
diff C:/eqemu-source-diff/EQEmu-0.7.0-1106/zone/zoning.cpp C:/eqemu-source-diff/daxum/zone/zoning.cpp Dax |
I didn't think about the fact that many people aren't running the stock eqemu source, and that generated patch diffs might not be the best way for them to update their sources. With that said, here's a manual context diff. Just go through and add the red lines into your source, and you should be good to go.
Also, to clarify, this update gives functionality to the client /rewind feature. This command / feature was added to the client by Sony due to the collision issues (i.e. players getting stuck on trees and ladders, etc). This will allow players to "unstick" themselves if they are trapped in geometry without the need for GM assistance. Without further delay, here is the code (note: this is the same code as my previous post - just in an easier to read format, for ServerOps that want to manually update their source): patch_Titanium.conf (in your eqemu directory) Code:
OP_LDoNButton=0x0000 Code:
N(OP_Command), ./zone/mob.h Code:
bool DivineAura() const; ./zone/client_packet.h Code:
void Handle_OP_PurchaseLeadershipAA(const EQApplicationPacket *app); Code:
typedef enum { Code:
case ZoneToBindPoint: Code:
case ZoneToBindPoint: ./zone/mob.cpp Code:
tic_timer(6000), Code:
tarx=0; Code:
ConnectedOpcodes[OP_FloatListThing] = &Client::Handle_OP_Ignore; Code:
printf("%s: Large position change: %f units\n", GetName(), sqrtf(dist)); Code:
sa_out->type = 0x03; Code:
void Client::Handle_OP_BankerChange(const EQApplicationPacket *app) |
Woah, gratz on Developer, TheLieka! I am sure you will make a nice fit for the position! You've already done so much.
And to not completely derail this thread; The /rewind command looks amazing. Another thing that all server ops will be thanking you for :D |
Quote:
|
Quote:
|
Just added this code to my server and it works perfectly! Hadn't tried it till now, but it compiled error-free in the 1110 source. All it does is move the char a small amount from where they currently are to get them out of a tree or wall. Seems flawless so far!
|
Yep, it's been on TGC since it was first posted and I have seen no problem with it.
|
I saw in the change log that is says this code was added to the source, but when I try to run the command, it didn't say anything at all. I checked the source and it looks like it was in there, so I looked and it seems I hadn't updated the below file, since in Linux I moved the file to my server directory (source is all in my source directory). So, I made this update below and I think that should fix it. I haven't rebooted yet to confirm though.
patch_Titanium.conf (in your eqemu directory) Code:
OP_LDoNButton=0x0000 On another note, the /rewind code should probably be added to the source in the /util/patch_Titanium.conf file so people can just move it over for the change to start working. I imagine it is a good idea to keep those files updated. |
Quote:
|
That just means you must wait longer to use it! Keep in mind that if you are stuck, you can't move. The command will only work if you have been standing in 1 spot without moving at all for at least 30 seconds.
|
The /rewind code is all in the source, but it appears that the opcode still isn't set in the most recent versions of the patch_Titanium.conf file that comes with the Official Downloads.
patch_Titanium.conf Code:
OP_Rewind=0x4cfa # Lieka: /rewind command |
Quote:
Will adding the OP_Rewind=0x4cfa to the patch_6.2.conf also work with that client? |
Quote:
|
Just use /rewind with the 0.6.2 and watch your EQEmu logs, it'll spit out the opcode as an unknown.
|
Quote:
And then just correct it in the .conf file with the correct one? |
All times are GMT -4. The time now is 02:22 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.