Jump to content
  • 0

[Guide] Convert Script to eAthena compatible version.


Emistry

Question


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

Since nobody really want to search in the forum before ask how to make it compatible with eAthena emulator ... I will just split the topics and PIN it ...


Random Questions :

  • Please help me convert the Script to eAthena / 3CEAM  !!!!
  • rAthena script doesnt work in eAthena ... HELP!!!!
  • Variables error / not recognized !!

 

Your Solution :

HlsudzW.jpg


 
Example : in latest rAthena /Hercules or other latest emulators

.@value = 12345;
.@value++;
.@value += 123;

.@string$ = "ABC";

for( .@i = 0; .@i < .@size; .@i++ )
for( .@i = 0; .@i < .@size; .@i += 3 )

 
When converted back to eAthena / 3CeaM / etc :

set .@value,12345;
set .@value,.@value + 1;
set .@value,.@value + 123;

set .@string$,"ABC";

for( set .@i,0; .@i < .@size; set .@i,.@i + 1 )
for( set .@i,0; .@i < .@size; set .@i,.@i + 3 )

** Did you noticed the pattern ?? it's the same for everywhere ...
 
Just Find and Replace these lines.

** To be honest, I really don't see what's the points of still using eAthena when it's already outdated.

Edited by Emistry
Updated.
  • Upvote 4
  • MVP 1
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

If it's unknown script command in your eathena ...

 

add the missing script command  yourself ...

or update to either rathena or compatible version of emulators.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   74
  • Joined:  12/04/14
  • Last Seen:  

OMG!! this explains literally "EVERYTHING" !!!

 

thank you so much from the bottom of my heart!

Edited by Sky Cloud
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

+10 for this

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  03/09/13
  • Last Seen:  

Nice job

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...