[Dev] Rune flyff

Status
Not open for further replies.
Re: Rune flyff

Ok guys, I fixed the trade rollback bug where items went back to their previous owner after relogging.

The bug was at line 201 and 214 of trade.cpp file (I think, at least in my version).

at line 201 it's:
player2->inv.pickup(&targy);
and 214:
player1->inv.pickup(&targy);


With those it should be working.

(If your lines are not those two, get a brain, learn a bit of C++ and just find them yourself, shouldn't be too far)
man i dont understand can you upload you trade.cpp?ill THANK YOU ALOT.
 
Re: Rune flyff

man i dont understand can you upload you trade.cpp?ill THANK YOU ALOT.


here is the file, however I don't know if it will work, my version is a bit modified so it may not be compatible with your version. Don't ask for help if it doesn't work, just tweak it around yourself.
 
Re: Rune flyff

Whats the bug?

If youre asking for the script to do it, I've already answered that.

Although.. I did it very poorly, just the logical way >.>
 
Re: Rune flyff

Btw, suddenly, if I try to compile the newer source, I face those errors:

1>Kompilieren...
1>adat.cpp
1>c:\users\link\downloads\rune\newrune\worldserver7\mysql.h(6) : fatal error C1083: Datei (Include) kann nicht ge
 
Re: Rune flyff

Morgawr the pk is working for u?edit the trade.cpp that you gave me..is not working mate.i gave to some1 something in the trade and he reloged and the item dissapeared D:<
 
Re: Rune flyff

You need both mysql libraries and pthread ones.. be sure to add the paths to the project.

Hmm, I downloaded the stable version of MySQL++, here:
But I can't find the pmutex libs, does anyone know a solution?
May anyone upload the pthread.h file please?
 
Re: Rune flyff

lol... i downloadad the latest version of that emulator and the rar-file contained a bad virus -.-'
good work -.-' that virus has infected about half of my pc as yet -.-
 
Status
Not open for further replies.
Back