Jump to content
  • 0

Requesting this NPC


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

requesting this npc, Thank you!

Link to comment
Share on other sites

24 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   4
  • Joined:  05/23/12
  • Last Seen:  

found it in eathena. but link is broken :(

http://www.eathena.ws/board/lofiversion/index.php/t260812.html

Edited by xilence01
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

http://www.eathena.w...hp/t260812.html

learn how to use mr. google.com :D

Edited by GM Takumirai
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

@xilence01, Yeah!: (

@GM Takumirai, Thanks for replying but i already checked that post, and the DL link was broken, so i'm trying to request this script here in rathena, maybe some of the members have this kind of script.

Edited by Rage
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

i see, yeah i never noticed that.. anyway hope someone will share..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Hmm, well, I assumed, that since the orignal post by that person specified names for those who gave support, there would be a support topic about it, but alas i could not find anything...

On a side-note, i did happen to find Annieruru looking into eA's old support forums lol.... she might by ' dumpster diving ' again to help someone else out with a topic, by linking an already existing script xD

I'll put this request into my back folder for now, I'll get to it when i finish other current projects, if someone want to jump the gun and get to it ahead of me, feel free to do so :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Oh my, Thank you so much GmOcean!

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:  

OMFG !!!

no wonder I felt like I never supported this guy before

( I searched his topic list and indeed I never supported him in eathena forum before )

@GmOcean,

yeah you are right

I can only dig out several topics like this

http://www.eathena.w...opic=262880&hl= <-- he is trying to use *explode to uncompress data

http://www.eathena.w...opic=263081&hl= <-- attachrid the guild/party to message someone wants to join in party/guild

http://www.eathena.w...opic=263142&hl=

http://www.eathena.w...opic=260695&hl=

http://www.eathena.w...opic=260718&hl= <-- simulating 3 dimension array

and

this person has cracked my mission board script !

look at the video, and compare to the features in my script, its almost the same

( the way that he choose menu -> Modify/delete/cancel <-- and also -> turn on as [Green], turn off as [Red] <-- )

in other words, this is also a very high level algorithm type script, can be as messy as my mission board script

@GmOcean,

you want to try challenge this script ?

this script DOESN'T use any query_sql at all,

my mission board script also didn't have a single query_sql command

so I think ... you are already confident enough to try to challenge this level of script that has same features like mine

and yeah, I got the idea how to start this kind of script

( totally rip off my script features ... )

Edited by AnnieRuru
Link to comment
Share on other sites


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

haha.... somehow i found it in my external harddisk.....it has been buried in my external harddisk for at least 1 ~ 2 year i believe... O.O

http://pastebin.com/raw.php?i=Q7VDe9g3 ( credits for original author )

i didnt sure did i edited any setting / contents or not ..... >.<

because i didnt use this script after RO introduced the Booking System


LOL...Annie....how come you can faster than me.. >.<

Edited by Emistry
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

@Annieruru, well it looks like i no longer have to write it lol. But yea, using SQL in my scripts is something, i've only recently started to do, mainly because rAthena has made the switch from txt -> sql... SO i figured i might as well, start picking it up as it may be a useful skill in the future. But, I am far more adept in non-sql scripts... since until rA, i was so hell-bent on NOT using sql lol. Even my test servers, were txt based for as long as i can rememeber @.@;

Edit: As for cracking your mission board script... if i sat down and stared at it with a pot of coffee, i could probably replicate it, but, it definately wouldn't be as optimized...

Your's would be like a chainsaw used to cut down a tree... while i would be using a standard hand axe... it'd get the job done, but definately not as fast or easy lol.

@Emitry - Nice find lmao..

Edit2: You know the more i look at this script... the more i realize, that i've already made something like this before, only thing is it didn't have guild support. Only allowed support for parties, and in addition, i used it so party leader could change everyone to the same pallette, <-- no idea why, but requests are requests lol.

Edit3: Yea, your script Annie, is alot more complex than this one... this one doesn't really compare...

Edited by GmOcean
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:  

http://pastebin.com/raw.php?i=Q7VDe9g3 ( credits for original author )

wow ! as I thought

this guy seriously has replicated my script features (almost similar to how I did)

want to give him some rep up for cracking my script

... the more I read the script, the more that I get amaze...

EDIT:

LOL GmOcean why we can say the same things XD

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thank you Emistry! ♥

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

i've tried this script and i have a problem.. im trying to warp my character to my other character whos the gm of the particular guild and the request pops up in my gm(guild master) character.

post-5991-0-93021400-1353848890_thumb.jpg

then after i accept the request the other character just got stock. no close or next button :((

post-5991-0-33369300-1353848998_thumb.jpg

Link to comment
Share on other sites


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

try this...

change

   mes "Level- ^009900"+.@lvl+"^000000";
 doevent strnpcinfo(0)+"::OnRequest";
 end;

into

   mes "Level- ^009900"+.@lvl+"^000000";
 doevent strnpcinfo(0)+"::OnRequest";
 close;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

try this...

change

mes "Level- ^009900"+.@lvl+"^000000";
 doevent strnpcinfo(0)+"::OnRequest";
 end;

into

mes "Level- ^009900"+.@lvl+"^000000";
 doevent strnpcinfo(0)+"::OnRequest";
 close;

tried but still same. also when i restart the server the registered guild dissappears. is it intended?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

try this...

change

mes "Level- ^009900"+.@lvl+"^000000";

doevent strnpcinfo(0)+"::OnRequest";

end;

into

mes "Level- ^009900"+.@lvl+"^000000";

doevent strnpcinfo(0)+"::OnRequest";

close;

mes "Level- ^009900"+.@lvl+"^000000";
close2;
doevent strnpcinfo(0)+"::OnRequest";
end;

Edited by GmOcean
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

@GmOcean..

thanks for the reply but still have the problem.

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:  

LOL you both xD

I think the problem is not on the script

if that guy is able to script something like this standard, I trust his script should be bug-less

problem is the script engine updates, our doevent script command is now under queue just like OnPCLoginEvent

this script has a countdown on both side, the caller and the guild master

the caller side runs a countdown 10,9,8,7,6 ...

and the guild master runs gettimetick(2) timer

there's a trick, if doevent doesn't work, can also use addtimer

this trick taught to me by Yhn in this topic post #7

on Line 2480

change

doevent strnpcinfo(0)+"::OnGCount";

into

addtimer 1, strnpcinfo(0)+"::OnGCount";

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Then, it's probably something rooted further in the script. However, I don't see why this is happening, the script calls: ' doevent ' which will run automatically while still continuing with the current script, which would allow you to close. My only guess is that if this is not the case, then your other character probably isn't being re-attached.

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:  

well that's just like you said, my mission board is more optimized than his ...

his script runs 1 callfunc("leaderwarp#g1" ... and also runs doevent strnpcinfo(0)+"::OnGCount";

this will run 2 timers on both players, the guild master and the caller

the caller side runs a countdown 10,9,8,7,6 ... with sleep2 990;

and the guild master runs gettimetick(2) timer

and nope, IT DOES reattached back

the sense of this script tells me, he is very experienced scripter like me

its the script engine update breaks his script

        if ( (getd (".guildinfo"+.@i+"[0]") & (pow(2,13))) == 0) {
           dispbottom "test 2";
       //    doevent strnpcinfo(0)+"::OnGCount";
           addtimer 1, strnpcinfo(0)+"::OnGCount";
           dispbottom "test 3";
       }
       dispbottom "test 1";
       callfunc("leaderwarp#g1", getd(".guildinfo"+.@i+"$[0]"), getd (".guildinfo"+.@i+"[0]"), getd (".guildinfo"+.@i+"[1]") );

       break;

I already tested, callfunc("leaderwarp ... works

but doevent doesn't want to run

after change to addtimer, it works ... yeah its weird, ... our script engine sux sometimes ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Ahh, i see, i didn't know doevent changed to queue. I figured it still opperated as it did before.... *goes back to other scripts and adds saftey measures*

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

thaks AnnieRuru. it worked. btw how can i save the guild that i registered on the npc? it disappears when the server restarts.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

It dissapears when the server restarts, because the information is stored in npcvariables ' .variables '. This is the intended behavior because this script by default only supports a limited number of guilds/parties at one time. The last thing you want, is for, all slots to be filled by guilds who are no longer active. Thus rendering it useless.

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...