Aegis Support Board: Converting Scripts? - Aegis Support Board

Jump to content

ASB News! ASB 5.0 Beta V2 has now been released!. See here for more Info.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Converting Scripts?

#1 User is offline   IcEDawn 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 02-July 04

Posted 15 June 2006 - 12:57 AM

I am wondering if there is a way to convert EAthena NPC Scripts to Aegis and Vice Versa? Maybe through the use of a parser? It doesn't matter if it's imperfect I'm just wondering if there was.
0

#2 User is offline   Kolkka 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 181
  • Joined: 07-August 03
  • Location:Mexico

Posted 15 June 2006 - 02:22 AM

You can make a converter in php, it's easy.
0

#3 User is offline   Lord Harog 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 03-July 06
  • Gender:Male
  • Location:CZ

Posted 03 July 2006 - 07:25 PM

It isn't so easy. For example eAthena has goto
...
L_Start:
	if(ASSIN_Q == 1) goto L_Failed1;
	if(ASSIN_Q == 2) goto L_Failed2;
	if(ASSIN_Q == 4) goto L_Change;
	mes ".... A Thief huh?..... And a well trained one at that, cause I can't seem to find my wallet!";
...

In aegis (I hope :) ):
...
if [ASSIN_Q] == 1
	dialog "What's this? I can't believe you failed the first test."
	dialog "~Sigh~........................"
	close
	disablenpc "Assassin Kai#1"
	enablenpc "Assassin Kai#2"
	moveto "in_moc_16", 19, 76
	break
elseifif[ASSIN_Q] == 2
	dialog "What are you doing out here?? Go back in and finish the second test!!"
	close
	moveto "in_moc_16", 21, 160
	break
....

This post has been edited by Lord Harog: 03 July 2006 - 07:25 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users