-
Posts
1443 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Stolao
-
-
On 2/7/2018 at 8:38 PM, GMHelios said:
Hello again, another question:
When I try to change the dropping item at the very end of the Jellopy Deposit "7126,625" to "7126,10000" to make it 100% droppable it won´t just work.
OnMineJell: MiningSpawn(1,0); MiningFunc(0,0,.Pick[0],5,100,rand(1,2),7049,5000,909,2500,909,1250,909,625,909,625,909,625,909,625,909,625,909,625,7126,625); end;
to:
OnMineJell: MiningSpawn(1,0); MiningFunc(0,0,.Pick[0],5,100,rand(1,2),7049,5000,909,2500,909,1250,909,625,909,625,909,625,909,625,909,625,909,625,7126,10000); end;
Even if I change any other item drop it will only consider the first one of the script which is "7049,5000".
Any ideas how to fix it?
Thanks for your time.
The "7049,5000" lowering 5000 should have fixed the issue if it cant find the item in question then it will default to 7049 because of the following code
getitem getarg(.@i,7049),1;
On 3/9/2018 at 8:49 AM, maken06 said:Could someone explain to me how to use it? for a user guide?
what don't you understand?
-
On 1/27/2018 at 12:47 AM, Tassadar said:
Good evening. I do not know what else my server did not accept @wi @weaponinfo etc.
Do you have any configuration that you have to do in this npc that I lost?
I just sent it to custons folder and activated it. In the ALT + Q (Equipment) window the Bonus descriptions appear. But no message is written.
No bug appears on the console.
Can you give me a way?
Thanks in advance, first for sharing such a good idea. very reminiscent of the WoW Legion Artifact. (I'm a fan and player of Wow)
And secondly for the help you're going to give me.Thank you.
double check if the script is actually loading, if there are no errors and its not working then you failed to "install" properly
On 3/8/2018 at 9:52 AM, maken06 said:it is possible to configure the books (Taek Boy & Star Gladiator) to Onslaught?
yes just add an if() check to the weapon check
-
-
On 1/14/2018 at 6:30 PM, kimok02 said:
Hi sir how to i enable autoattack on this script..
No idea what your asking about.
-
the filename is '30' not '30.mp3' for playbgm
-
No SRC or SQL Required.
Ill go ahead and work on this it sounds like a fun script but I'm going release it on my git once done, i might even add to my autoevent npc.- 2
-
11 hours ago, HristDead said:
Hey rAthena. I've been breaking my head about this for the past 2 hours. Someone care to take a look at it?
I'm using the online peak NPC but want that, when a new peak is reached, every player gets 5x one type of the items in ".@RandItem[0]" array. I use a query to store the items in their storage but it simply isn't happening.
The announcement is working fine and the server doesn't return any kind of error. What am I doing wrong here? I've tried different combinations of ".@RandItem"
Thanks in advance
- script Highest Peak -1,{ OnPCLoginEvent: // Assign current number of online players sleep 1000; .onlineusers = getusers(1); // Today's date .date$ = gettime(DT_YEAR)+"-"+gettime(DT_MONTH)+"-"+gettime(DT_DAYOFMONTH); // Query for the highest peak in the database query_sql("SELECT `users` FROM `" + .sqltable$ + "` ORDER BY `users` LIMIT 1",.@countusers); if(getarraysize(.@countusers) == 0) { // There doesn't seem to be a row in our table, so lets create one query_sql("INSERT INTO `" + .sqltable$ + "` (`users`, `date`) VALUES (" + .onlineusers + ", '" + .date$ + "')"); } else { if(.onlineusers > .@countusers[0]) { // This is where we check if we want to announce a new peak if(.displaypeakannounce == 1){ announce "[ Server ] We have reached a new population peak, we now have "+.onlineusers+" online players! Therefore we've decided to give you all a little surprise, re-log and check your storage to find out what it is!~ ",bc_all; // Replace the query_sql "INSERT INTO `storage` (`id`, `account_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3`, `expire_time`, `unique_id`) "+ "SELECT NULL, `login`.`account_id`, '.@RandItem', '5', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0' FROM `login` WHERE `account_id` > 1"; } // Now lets update the table with our new player peak query_sql("UPDATE `" + .sqltable$ + "` SET `users` = '" + .onlineusers + "', `date` = '" + .date$ + "'"); } } end; OnInit: // CONFIGS // We need an SQL table name first .sqltable$ = "cp_onlinepeak"; // Would you like an announcement when you reach a higher peak? // 1 = Yes // 0 = No .displaypeakannounce = 1; // ITEM REWARD // 14534 = Medium life potion // 12299 = Mega resist potion // 12354 = Buche de Noel // 12196 = Plain Rice Cake // 12123 = Honey Pastry setarray .@RandItem[0],14534,12299,12354,12195,12123; set .@RandItemCount,getarraysize(.@RandItem); //getitem(.@Randitem[rand(.@RandItemCount)],5); - We will use SQL so this will not be important. // END CONFIGS }
What's your client version I'll write you on real fast?
Just need to know if RoDex or old mail system.
-
1) Use a Codebox when posting code
2) Don't bump your topic it's against rules
3) That script is terrible I have a poring catcher code in my autoevent npc (it can also be run via at_runevent by gm) feel free to use it.
-
On 12/23/2017 at 3:50 PM, JamS said:
how to apply this script? (sorry newbie here)
-
Use my daily login rewards as a base if you like, v2 + minor tweaks should work for this. Then just disable npc after your event is over.
Unfortunately I don't have time to code atm but it's fairly easy.
- 1
-
It's against RMS TOS to rewards players. So should probably not do that.
- Server owners caught providing incentives to their players for reviews of their servers (no matter good or bad) will have their servers suspended from the listing.
-
Change this
"100000,0,0,0,604,3,673,1", // Day 28: 100000 Zeny + Dead Branch + Moeda Cobre Roleta
to
"100000,0,0,0,604,3,673,1"; // Day 28: 100000 Zeny + Dead Branch + Moeda Cobre Roleta
also last line of VIP needs same treatment of replacing , with ;
-
show the code giving them blessing, its most likely incorrect.
-
You could replace redeeming script with an onloginevent version that sends via RO dex, for reference on how to do that I would take a look at my autoevent script release it has an RO dex mail in it.
-
This would just be a small src mod to SC_Devotion.
-
Welcome hope you enjoy your stay.
-
Updated Autoevent script fixed a few bugs and added in a randomizeevent command, will update further later
-
7 minutes ago, melv0 said:
i was installed that function but still can't read that func?
double check dispell is loaded before autoevent
-
10 hours ago, melv0 said:
i think u have some typo on this part
// ------------------- // At Commands // ------------------- // Run Event Command to manually run event bindatcmd("runevent",strnpcinfo(1)+"::OnRunEvent",60,99); // End Event Command to manually run event bindatcmd("runevent",strnpcinfo(1)+"::OnEndEvent",60,99); << should be endevent?? // Join Event Command bindatcmd("joinevent",strnpcinfo(1)+"::OnJoinEvent",0,99);
and when player use command joinevent get error
buildin_callfunc: Function not found! [dispell]
// End Event Command to manually run event bindatcmd("endevent",strnpcinfo(1)+"::OnEndEvent",60,99); << should be endevent??
ya should be that ill fix in master thank you
function dispell is
https://github.com/Stolao/Npc_Release/blob/master/Custom_Functions/Dispell.txt -
7 minutes ago, Hnomkeng said:
wait Chapter 10: Dynamic Menu System
Ya dynamic menus are great, and really easy once you wrap your brain around it though. (took me several tries till I got it working as intended when I first started using them).
-
I honestly wish I had time like I use to so I could help put together some scripting and src guides.
Maybe after my project finishes/ settles down a bit I can contribute a bit.
@Alayne you have released alot of scripts in the last month, how many ish do you have in your personal stockpile seem like everyday you add 5 more, which is awesome btw.
-
5 hours ago, iAmGnome said:
@Stolao having problems when setting event dates. If I input too many events it mess ups the dates. Example If I set it to monday. It will appear on Wednesday.
ill try and replicate bug, if i can ill fix
- 1
-
On 11/17/2017 at 7:44 AM, celeron0134 said:
sir.. i've used your weapon mastery system but if i used buffs or awakes.. it disables the system and i have to re equip again my weapon so that it will activate can you fix it?
please don't post same issue on multiple pages
sounds like either your running 2 script that sue the OnPcCalcEvent label to me.
if not try increasing your event_queue -
9 hours ago, Quesooo said:
@Stolao is it possible when players reach the max lvl mastery of a weapon the weapon will be blink like a aura also??
how to do that
Not without an aura mod no, if you have one then need to just add an if statement checking mastery and enable aura
@wut751 where it does the weapon checks you would replace with a headgear check....
Stolao's Auto Event [v2.5A]
in Game, Event, Quest Script Releases
Posted
its in a separate file which can be found on my git.