Jump to content

Stolao's Script Collection [Update 2018-06-02_08:16]


Stolao

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  04/12/17
  • Last Seen:  

On ‎24‎.‎08‎.‎2017 at 7:49 PM, Stolao said:

Odd i cant reproduce using a clean rAthena and clean from my Git

 

Event_Menu.png

sorry This does not happen to me.
For that I need to take these 3 lines.

   ((getgmlevel()<.GMAccess)?"":" ~ Manage events...")+
   (($@EventRanking & 1)?" ~ Monthly Ranking:":":")+
   (($@EventRanking & 2)?" ~ Lifetime Ranking:":":")+

Rathena clean 28.08.2017 22:10, novice level 0. npc clean.
I do not understand anything.
But he does not check the level.

Capture.PNG

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

5 hours ago, kabralgaming said:

sorry This does not happen to me.
For that I need to take these 3 lines.

   ((getgmlevel()<.GMAccess)?"":" ~ Manage events...")+
   (($@EventRanking & 1)?" ~ Monthly Ranking:":":")+
   (($@EventRanking & 2)?" ~ Lifetime Ranking:":":")+

Rathena clean 28.08.2017 22:10, novice level 0. npc clean.
I do not understand anything.
But he does not check the level.

Capture.PNG

You don't have manage events there just check, and check ranking since you have ranking enabled....

 

Now try and edit the schedule with that and you can't. Only Gm has "Manage events"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

On 11/07/2013 at 2:23 PM, Stolao said:

< Stolao's Script Collection>

Please Comment, Good or Bad i want to know your guys thoughts on what i should do next.

Daily Login Reward

  Reveal hidden contents

Features:

  • Full Customizable
  • Can Set Number of Hours Between Login Prizes and Losing Consecutive Prizes make Days Weeks or even Months
  • Can Item, Point, Exp or even Buff Rewards
  • Includes Configurable Whisper Commands for checking status of and collecting next rewards
  • Includes @Command for checking status of and collecting next rewards
  • Includes Dynamic Buff Rewards

Links:

 

How do I give the reward to the day instead of time ... Ex: I received the reward today, so at 00:00 I can receive the next reward
Another thing, it is for the prize not to be repeated, Ex: I received the prize yesterday (Day 5), today (Day 6), I did not take the prize, tomorrow (Day 7) I would receive the prize of day 6

@Edit I'm not getting the reward item

https://nopaste.me/view/39b4af44

Edited by Haikenz
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

10 hours ago, Haikenz said:

How do I give the reward to the day instead of time ... Ex: I received the reward today, so at 00:00 I can receive the next reward
Another thing, it is for the prize not to be repeated, Ex: I received the prize yesterday (Day 5), today (Day 6), I did not take the prize, tomorrow (Day 7) I would receive the prize of day 6

@Edit I'm not getting the reward item

https://nopaste.me/view/39b4af44

 

 

10 hours ago, Haikenz said:

How do I give the reward to the day instead of time ... Ex: I received the reward today, so at 00:00 I can receive the next reward
Another thing, it is for the prize not to be repeated, Ex: I received the prize yesterday (Day 5), today (Day 6), I did not take the prize, tomorrow (Day 7) I would receive the prize of day 6

@Edit I'm not getting the reward item

https://nopaste.me/view/39b4af44

Well for one your using incorrect formatting for your days it should have a , not a |

 

"0|0|0|0|607|15",       // Dia 1: 15x Fruto Yggdrasil

should be 

"0,0,0,0,607,15",       // Dia 1: 15x Fruto Yggdrasil

 

as for other errors follow up if they there after you correct this...

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

23 hours ago, hannicaldummy said:

Hey @Stolao, there's any custom message to input?

It's happening when i click at the event shops

NFL88QKRRZKC4qWtQsrX9Q.png

Nothing custom, you probably need to update your rA version. 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

On 9/16/2017 at 4:57 PM, hannicaldummy said:

I was using the msg_prt, in the msg_en it works xD

ah good to know

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

switch the point type in the config....
 


	// Point Type
	//   [0] Points earned
	//   [1] Point name in mes
	setarray .Points$,"#Loyalty","Loyalty Points";

 

On 9/21/2017 at 3:25 PM, hannicaldummy said:

How we got the CASH points to use in the itemshop of the events?

 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

On 9/23/2017 at 10:35 AM, hannicaldummy said:

oh my bad, the event shop is an itemshop not a cash shop, it uses item id 33001, which is my custom reward ID, just change that in every location on the file.

if you want to recive actual cash points from events then you'll need to add cash points during the prize section of the script, which im sure you can figure out.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

you will need to manually edit the rewards parts to instead of giving zeny to give your desired point type.

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Updated PvP Ladder

3.04 Optimized and fixed SQL queries [Secret]
3.05 Replaced some queries with addrid(0)
3.06 Updated Rewards to RODEX compatable

 

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

  • 1 month later...

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Hi Sir @Stolao, tried the auto-event but somehow when setting multiple events at any day. The schedule is messed up. Let's say I entered it on Sunday, it shows on Monday. While doing it on Wednesday, it shows on Thursday.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   1
  • Joined:  12/13/16
  • Last Seen:  

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? 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

On 11/16/2017 at 10:42 AM, Meister said:

Hi Sir @Stolao, tried the auto-event but somehow when setting multiple events at any day. The schedule is messed up. Let's say I entered it on Sunday, it shows on Monday. While doing it on Wednesday, it shows on Thursday.

@Stolao have any update for this issue?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

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]

 

Edited by melv0
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

2 hours ago, Stolao said:

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

i was installed that function but still can't read that func?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

7 minutes ago, melv0 said:

i was installed that function but still can't read that func?

double check dispell is loaded before autoevent

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Updated Autoevent script fixed a few bugs and added in a randomizeevent command, will update further later

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

For the WeaponMastery i have this error

 

[Warning]: npc_event: player's event queue is full, can't add event 'PCSTATCALC::OnPCStatCalcEvent' !


What does it mean?..?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

9 hours ago, CheckMate said:

For the WeaponMastery i have this error

 


[Warning]: npc_event: player's event queue is full, can't add event 'PCSTATCALC::OnPCStatCalcEvent' !


What does it mean?..?

You need to increase this part https://github.com/rathena/rathena/blob/master/src/map/map.hpp#L55

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

On 3/25/2018 at 12:33 PM, Radian said:

Thx but it was not in map.hpp cuz there is no map.hpp only have map.cpp...
Those can be found in map.h.

Thx cuz pointing me out. ^_^

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

ya what @Radian Said

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Update Auto Event

2.12->2.2F
2.13 Fixed Emp Breaker Instance Enter
2.14 Converted Instance var to NPC var in Emp Breaker Instance
2.15 Fixed Emp Breaker Instance using sleep2 instead of sleep
2.16 Added a few more names to Poring Event
2.17 Lower Zombie Event Round time by 1 Second (even 60 now)
2.18 Lower Slow Duration after killing Zombie in Zombie Event to 30 Seconds
2.19 Corrected Typo in Final Wave of Zombie Event
2.1A Lower Dice Event Initialize time to 60 seconds
2.1B Fixed typo 'Event Event' when reciving rewards
2.1C Made the PvP Event Check Players every 5 seconds instead of 60
2.1D Dice Event Now Sends Players back to Prontera on event End
2.1E Zombie Event Now Sends Players back to Prontera on event End
2.1F Fixed at_endevent not ending events already in progress.
2.20 Bombring Event Now Sends Players back to Prontera on event End
2.21 Bombring Event now gets harder per wave.
2.22 Bombring Event waves come slower
2.23 Added Clear Event Command
2.24 Fixed Manhunt picking players from wrong map
2.25 Fixed Issue #33 Man Hunt Event (Thanks Sader)
2.26 Poring now correctly removes mapflags
2.27 Added 'mf_nodrop' to Bombring and Poring
2.28 Fixed? Lucky Event
2.29 Replaced "mapnames" with .EnterMap$[#] in most cases
2.2A Fixed minor tabulation
2.2B Fixed an extra {
2.2C Converted to use new mail script commands
2.2D Added Mutiple item support for RoDex
2.2E Fixed 'Event Event' typo
2.2F Added more GM menus if dont want commands enabled

 

Update PvP Ladder

3.16->3.18
3.17 Fixed Typos in Reset PVP Stats
3.18 Removed unnessisary next, creating hang screens

 

Edited by Stolao
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Updated Auto Event
 

2.38 -> 2.5A

2.39 Added Find th Baphomet
2.3A Added Grab the Candy!
2.3B Added Monsters Counting (requires the server to be compiled with regular expressions library enabled)
2.3C Combined OnPCLogout Events
2.3D Added Disgusie Event
2.3E Replaced 'strnpcinfo()' type 0 and 1 with type 3
2.3F Removed dependencey on regular expressions library for Disguise and Coutning
2.40 Fixed Poring Event setting mapflags non-dynamic map
2.41 Added Fabre Event
2.42 Fixed Emp Event Failing to annouce not enough players
2.43 Fixed Zombie Failing to start due to negative index
2.44 Added Devil Square
2.45 Certain mapflags no loger removed on events end
2.46 Warp Players to Save instead of Prontera
2.47 Made default time for emp event ~23 Days
2.48 Added a player death check to zombie event
2.49 Fixed a loop issue in PVP
2.4A Players warp to prontera instead of save, apperenetly map warp doesnt support "Save"
2.4B Fixed Lucky Pick
2.4C Fixed a missing "" in maze event
2.4D Added a check so Mushroom Event will always have at least 1 mushroom
2.4E Fixed incorrect map index for Mushroom and Bapho events
2.4F Fixed incorrect event index for Mushroom and Bapho events
2.50 Added a Gm diplay count for mob counting event if Testmode is enabled
2.51 Removed map warp from counting event
2.52 Counting event now properly removes mobs at events end
2.53 Removed SQL dependency from Fabre event
2.54 Added Warp out for disgusie event
2.55 Disabled Countdown timer in disguse event
2.56 Fixed incorrect Rules check
2.57 Added a Gm diplay mob name for disguise event for gm 99
2.58 Fixed incorrect mapindex for disguise event
2.59 Devil Square now rewards all players once last chest is killed
2.5A Fabre event now propery kills monsters at end

 

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
Reply to this topic...

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