but how can i use quick replace with more than 1 line o.O?
Works perfectly, just that, when I scroll, it says 2+ instead of 1+, and 2nd scroll becomes 4+ and so on. :0
Then again, Doyos wins. Cheers & Thank you for this release doyos.
I might be needing this for my server.
~Xenon
Doyos, i just wanna ask you, when i replaced, it gave me these warnings:
In about 3 lines, so to fix those warnings, i changed:Code:c:\documents and settings\my documents\LatinMS\maplestory server\inventorypacket.cpp(59) : warning C4244: 'argument' : conversion from 'short' to 'unsigned char', possible loss of data
withCode:packet.addByte(equip->scrolls); // Scrolls
And it gave me no errors/no warnings, do you think this should work?Code:packet.addShort(equip->scrolls); // Scrolls
mine doesnt save the affect at all and i added the codes perfectly.
i dunno if it means anything.. but this shows.
Code:.\PlayerPacket.cpp(58) : warning C4244: 'argument' : conversion from 'short' to 'unsigned char', possible loss of data
really great it work but for take effect i need relog can u fix that?
really great release it work but for take effect i need relog can u fix that please?
For people encountering the items are being plussed by +2 (+2, +4, +6, and so on) add in Inventory.cpp the following lines after:
Code:if(rand()%100<Drops::consumes[itemid].success){Then the items should be plussed nicely with +1.Code:equip->scrolls++; equip->scrolls--;
just to let you noe krytical's repack private v11 already have this function
2 bad I'm not having that repack :(
So I'll have to keep on coding with pack 9.2 :P
I replaced both but I seem to get errors in building. ><
great release :}
Hmm i got this problem it works fine and everything but when you log off the + is gone XD
Effects are not saved, but it's a nice fix for now.
Good code
I will use it.
Thank you!!
Effects ARE saved. You obviously did something wrong.
IF YOUR SCROLLING EFFECTS DISAPPEAR AFTER YOU LOG OUT, YOU DID SOMETHING WRONG. THIS IS A PERMANENT FIX, NOT A TEMP. CHECK FOR ANY AND ALL INSTANCES OF THE FOLLOWING AND REPLACE THEM WITH THE ADDING OF THE BYTES.
@chenhao: Because he took it from this thread, obviously. Jwshan figured this out AGES before scrolling was ever released in any form, and also look at the post date of the start post. Repack creators are mostly just leechers that want to feel like they're not by releasing their copy+paste compilation of other peoples' efforts. This isn't open source, but people like to think it is, and yet I still release things because I am chronically nice. tsk tskCode:packet.addShort(equip->scrolls);
@at0mz: Congratulations, you fixed a code warning and created a runtime error, which is probably going to crash your client. Learn what the functions do and what bytes/shorts/ints/longs are before you mess with anything.
are you sure your suppose to add in character.cpp? cause theres
2 "packet.addShort(equip->scrolls);"