Jump to content
  • 0

Error in Script


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rA :)

Can someone fix my script it shows this error then my character cannot moved and the msg box cannot be closed.

Error:

11jxlsi.jpg

Script:


mes .@t$;
mes "Hello would you like to start the tour on Play Ragnarok Online ?";
mes " ";
if (select("Yes, start the tour!:No thanks i'm fine.")==1) {
warp "prontera",156,174;
mes "Alright We'll Start!!!";
sleep2 2000;
mes .@t$;
mes "Play Ragnarok Online is a Pure Balanced Server";
mes "It is made for you to enjoy ragnarok online by this server.";
next;
mes .@t$;
mes "Server Rates :";
mes "Base and Job Experience : 3000x / 3000x";
mes "99 / 70, Transcendent Classes Only";
next;
mes .@t$;
mes "Normal Card Drop Rates: 30%";
mes "Boss Card Drop Rates: 5%";
dispbottom "Tour Guide : Remember MVP Special Drop : Proof of Donation 1% , don't forget to use @mobsearch.";
dispbottom "Tour Guide : Happy Hunting !";
cutin "kafra_09",2;
sleep2 15000; // 15 seconds

warp "prontera",163,175;
mes .@t$;
mes "This is our very own Chess Warper if your bored in hunting and PvP you can play chess with your friends.";
dispbottom "Tour Guide : Good Luck on Playing Chess !";
cutin "kafra_09",2;
sleep2 5000;

warp "prontera",171,185;
mes .@t$;
mes "This is the Play Ragnarok Online Cash Shop there are lot's of cool stuff you want to buy there.";
cutin "kafra_09",2;
sleep2 5000;

warp "prontera",166,194;
mes .@t$;
mes "Moving On.........";
next;
mes .@t$;
mes "This is the WoE Information you can check WoE Time Schedules and Castle Owners.";
dispbottom "Tour Guide : Remember that Emperium's Health is already 1,000,000 be sure to break it.";
cutin "kafra_09",2;
sleep2 10000;

warp "prontera",159,188;
mes .@t$;
mes "Beside you is Bob you can check all your achievements here and what you have not achieved yet.";
dispbottom "Tour Guide : Achievement Points can be used in the pRO Cash Shop.";
cutin "kafra_09",2;
sleep2 5000;

warp "prontera",131,193;
mes .@t$;
mes "This is Old Man here is the Race of the Day.";
next;
mes .@t$;
mes "You can check what Race is On for the Day then you kill the race and get bonuses.";
dispbottom "Tour Guide : Race of the Day is a System which you kill a race and earn EXP,Zeny & Items.";
cutin "kafra_09",2;
sleep2 10000;

warp "prontera",143,174;
mes .@t$;
mes "This is the Real Estate Agent.";
mes "this is where you talk and negotiate on how to buy a house and everything.";
dispbottom "Tour Guide : Remember to keep your house clean always.";
cutin "kafra_09",2;
sleep2 5000;


warp "prontera",137,171;
mes .@t$;
mes "Lastly This is the 300 Monster Challenge Instance.";
mes "Take on the Challenge and see what's beyond.";
dispbottom "Tour Guide : George will be the one to guide you there.";
cutin "kafra_09",2;
sleep2 10000;

// etc.


warp "prontera",156,174;
sleep2 1000;
mes .@t$;
mes "That's All Thank You Hope You Enjoy the Tour Good Luck Have Fun !";
dispbottom "Tour Guide : If you need help just search for PlayRO GM Team.";
cutin "kafra_09",2;
sleep2 10000;
}
cutin "kafra_09",255;
close;

Thanks in Advance /kis2

SlashGeeGee

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

That error occur when you try to talk with a NPC far away from your position.

To fix the problem, create a script without coords and use duplicates to put it in your maps.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

I solved the problem when i removed all the next; before the sleep part , but how to add a msg box that has next and next.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

hmm... replace all sleep2 with next -.-

I dont think you need use sleep2 in this script.

Sleep2 will "stop" your script in xxxx milisecond and execute after.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

hmm... replace all sleep2 with next -.-

I dont think you need use sleep2 in this script.

Sleep2 will "stop" your script in xxxx milisecond and execute after.

I need it for the player to not move.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

*pcblockmove <id>,<option>;

Prevents the given ID from moving when the option != 0, 0 enables the ID to move again.
ID should be able to be GID of a monster/NPC or AID from a character.

*unitstop <GID>;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

*pcblockmove <id>,<option>;

Prevents the given ID from moving when the option != 0, 0 enables the ID to move again.
ID should be able to be GID of a monster/NPC or AID from a character.

*unitstop <GID>;

where will I add this ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...