Rene
Members-
Posts
3 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Rene's Achievements
-
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
-
Extract char_id from crafted items card position 3 & 4
Rene replied to Sehrentos's question in Scripting Support
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 -
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!!) ? Looking to contribute back to where I started Community still looks great. Looking forward to meet y'all ?
- 1 reply
-
- 1