Jump to content
  • 0

Error occur


Mootie

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

post-9398-0-72597300-1354384595_thumb.png i guess this is the when the events ends? or something?

here;s the script

//===== rAthena Script =======================================
//= Poring Summoner
//===== By: ==================================================
//= Bahmut (Made it automated)
//= MoonlightRO (Original)
//===== Current Version: =====================================
//= 1.4
//===== Compatible With: =====================================
//= TXT & SQL
//===== Link to orginal: =====================================
//= [url="http://www.eathena.ws/board/index.php?showtopic=236779"]http://www.eathena.w...howtopic=236779[/url]
//============================================================
-	script	Poring Summoner	-1,{
OnInit:
//---- NPC Config -----
set .SpecialPorings,100;
set .NormalPorings,100;
//---------------------
initnpctimer;
end;

OnSpecialKill:
set .SpecialPorings[1],.SpecialPorings[1]-1;
announce strcharinfo(0) + " got a " + getitemname(.ItemID) + "!",bc_map;
//	getitem .ItemID,1;
set PoringPoint,PoringPoint+1;
dispbottom "You got 1 Poring Point";
dispbottom "Total Poring Points:"+PoringPoint;
goto PoringCount;

OnNormalKill:
set .NormalPorings[1],.NormalPorings[1]-1;
goto PoringCount;

PoringCount:
announce "Special Poring: " + .SpecialPorings[1] + " || Normal Poring: " + .NormalPorings[1],bc_map;
if(!.SpecialPorings[1]) goto EndEvent;
end;

OnTimer3300000:
RestartEvent:
killmonster .Map$,"All";
set .Event,0;
set .SpecialPorings[1],0;
set .NormalPorings[1],0;

removemapflag .Map$,mf_noskill;
set $@ran, rand(1,10);
if ($@ran == 10) set .Map$,"lighthalzen";
if ($@ran == 9) set .Map$,"louyang";
if ($@ran == 8) set .Map$,"comodo";
if ($@ran == 7) set .Map$,"xmas";
if ($@ran == 6) set .Map$,"aldebaran";
if ($@ran == 5) set .Map$,"izlude";
if ($@ran == 4) set .Map$,"payon";
if ($@ran == 3) set .Map$,"geffen";
if ($@ran == 2) set .Map$,"morocc";
if ($@ran == 1) set .Map$,"prontera";
setmapflag .Map$,mf_noskill;
monster .Map$,0,0,"Poring",1002,.SpecialPorings,"Poring Summoner::OnSpecialKill";
monster .Map$,0,0,"Poring",1002,.NormalPorings,"Poring Summoner::OnNormalKill";
set .SpecialPorings[1],.SpecialPorings;
set .NormalPorings[1],.NormalPorings;
announce "The Poring Event has begun!",bc_all;
announce "Location: " + .Map$,bc_all;
announce "Special Poring: " + .SpecialPorings,bc_all;
announce "Normal Poring: " + .NormalPorings,bc_all;

setnpctimer 0;
end;
}

is this

OnTimer3300000: = 55 minutes? uhm,or should i use OnMinutes: ? on timer means it will start 55minutes right?

Edited by Mootie
  • Upvote 1
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


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

If you read the error message, it should be obvious.

...goto EndEvent; // This label doesn't exist.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

oh ... should i remove goto and remain EndEvent; // o.o

Any idea how i can fix this?

Edited by Mootie
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Something like... this?

EndEvent:
announce "End of Event!",0;
end;

but .Map$ is empty on the first used.

OnTimer3300000:
RestartEvent:
killmonster .Map$,"All";
set .Event,0;
set .SpecialPorings[1],0;
set .NormalPorings[1],0;

removemapflag .Map$,mf_noskill;

Edited by capuche
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

this script from old eathena board

http://www.eathena.w...howtopic=236779

is an invisible topic, but I still have scripting moderator access in that forum to view that invisible topic

no idea who invisible it ... though

and the funny thing is this is made by but I didn't see an update in this topic

here I dig out the script

<removed>

EDIT:

http://rathena.org/b...on/#entry100815

what poring summoner? i dont see any poring summoner in his release xD,

btw mysterious what are inside gryphons.rar and where do i place this? smile.png

It was a big hit in eAthena and a lot of people loved it: http://www.eathena.w...79&st=0&start=0 but I denied the release ;P.

@Jam, I might release it as a Paid script for future reference. Sorry.

ok user said don't want ... Edited by AnnieRuru
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...