Rene
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Rene
-
-
When you're referring to docs i guess you meant these lines:
// Now we split the character ID number into two portions with a binary // shift operation. If you don't understand what this does, just copy it. @card3 = @charid & 65535; @card4 = @charid >> 16;
If that is the case then i think it would be possible to retrieve it (assuming we're operating on a 32bit system):
@card3 is storing the LAST 16 bits of the character's ID
@card4 is storing the FIRST 16 bits of the character's ID
So you'll just need to perform a left shift by 16 bits and perform a bitwise OR@crafter_char_id = (@inventorylist_card4[.@i] << 16) | @inventorylist_card3[.@i];
Let me know if that works
-
1
-
-
Wait what? Another one of those long ass introductory posts??
Let me just break this down into bullet points:- I used to lurk around eAthena about 10 odd years ago
-
My only contribution to eAthena was a guide for server owners on how to get custom sprites
- something something xray client (is this still relevant now?)
- 16 y.o me tried to apply for a dev position on eAthena but i failed to understand what is a "for loop"
-
I'm now a postgraduate with a CS degree
-
Yes, i can now write a for loop (amazing right? i know!!)
-
Yes, i can now write a for loop (amazing right? i know!!)
- Looking to contribute back to where I started
Community still looks great. Looking forward to meet y'all

-
1
Timer
in Scripting Support
Posted
I think it would be helpful if you're able to give information on what is wrong with the script and the complete function rather than just a chunk of it. Your if( select("Yes:No")==1 ) doesn't have an opening curly braces, that might cause huge logic problems