Jump to content

Chris' Script Collection [Last Update: 04-06/2021]


llchrisll

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  47
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

i miss this topic sorry for no response. too busy on my business /pat..  i'll give a try on that In Game board now. .. thanks for the update chris /no1

Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Hi guys!

Just a small Information: Since Google Code Project will be disbanded in 2016.

I started to move to GitHub.com, Links will be updated soon.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

Hi guys!

Just a small Information: Since Google Code Project will be disbanded in 2016.

I started to move to GitHub.com, Links will be updated soon.

function	ShopStuff	{
// ==================================================== //
// getarg(0):
//	* 1 - Add
//	* 2 - Remove
//	* 3 - Edit
//	* 4 - Delete Shop
//	* 5 - Shop Creation
// getarg(1): Array Position for Edit & Remove
// getarg(2): Item ID
// getarg(3): Price
// ==================================================== //

Just wanna ask about Dynamic Shop, how can i add this items exactly? is it like this: callfunc "7539","10";

Thanks in advance.

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

 

Hi guys!

Just a small Information: Since Google Code Project will be disbanded in 2016.

I started to move to GitHub.com, Links will be updated soon.

function	ShopStuff	{
// ==================================================== //
// getarg(0):
//	* 1 - Add
//	* 2 - Remove
//	* 3 - Edit
//	* 4 - Delete Shop
//	* 5 - Shop Creation
// getarg(1): Array Position for Edit & Remove
// getarg(2): Item ID
// getarg(3): Price
// ==================================================== //

Just wanna ask about Dynamic Shop, how can i add this items exactly? is it like this: callfunc "7539","10";

Thanks in advance.

 

 

Nope, the items will be added via Ingame menu, if you talk to the NPC with an GM Account with GM level 60+, but the currency settings can only be edited by GM level 80+.

Just talk to the npc with an GM Account and then choose "View Settings", then you will get instructions how to add items.

 

Note: Maybe I will add another currency to the settings like using a custom variable, like PvP Arena Points > PvPPoints.

That way it would be more dynamically than it is currently.

 

Regards,

Chris

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

 

 

Hi guys!

Just a small Information: Since Google Code Project will be disbanded in 2016.

I started to move to GitHub.com, Links will be updated soon.

function	ShopStuff	{
// ==================================================== //
// getarg(0):
//	* 1 - Add
//	* 2 - Remove
//	* 3 - Edit
//	* 4 - Delete Shop
//	* 5 - Shop Creation
// getarg(1): Array Position for Edit & Remove
// getarg(2): Item ID
// getarg(3): Price
// ==================================================== //

Just wanna ask about Dynamic Shop, how can i add this items exactly? is it like this: callfunc "7539","10";

Thanks in advance.

 

 

Nope, the items will be added via Ingame menu, if you talk to the NPC with an GM Account with GM level 60+, but the currency settings can only be edited by GM level 80+.

Just talk to the npc with an GM Account and then choose "View Settings", then you will get instructions how to add items.

 

Note: Maybe I will add another currency to the settings like using a custom variable, like PvP Arena Points > PvPPoints.

That way it would be more dynamically than it is currently.

 

Regards,

Chris

 

 

Oh, i see i'm bit confuse why you didn't combine both getlvlgm Lv 99 since Lv 60 GM is useless all access must be GM 99. but i prefer to add items, via SQL script version much better. good script! :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

 

 

 

Hi guys!

Just a small Information: Since Google Code Project will be disbanded in 2016.

I started to move to GitHub.com, Links will be updated soon.

function	ShopStuff	{
// ==================================================== //
// getarg(0):
//	* 1 - Add
//	* 2 - Remove
//	* 3 - Edit
//	* 4 - Delete Shop
//	* 5 - Shop Creation
// getarg(1): Array Position for Edit & Remove
// getarg(2): Item ID
// getarg(3): Price
// ==================================================== //

Just wanna ask about Dynamic Shop, how can i add this items exactly? is it like this: callfunc "7539","10";

Thanks in advance.

 

 

Nope, the items will be added via Ingame menu, if you talk to the NPC with an GM Account with GM level 60+, but the currency settings can only be edited by GM level 80+.

Just talk to the npc with an GM Account and then choose "View Settings", then you will get instructions how to add items.

 

Note: Maybe I will add another currency to the settings like using a custom variable, like PvP Arena Points > PvPPoints.

That way it would be more dynamically than it is currently.

 

Regards,

Chris

 

 

Oh, i see i'm bit confuse why you didn't combine both getlvlgm Lv 99 since Lv 60 GM is useless all access must be GM 99. but i prefer to add items, via SQL script version much better. good script! :3

 

Well, in my opinion SQL isn't required for an script like that.

If you don't want different GM Levels, go to the bottom of the file to "OnInit:"

and set "set .gm,60;" to "set .gm,99;" and "set .gm_pr,80;" also to "set .gm_pr,99;" 

 

My focus lies currently in this:

<Projects Advertise Start>

Test In Progress: Quest System.

In summary it would be something like AnneRuru's Mission Board (I think it was her script, can't remember right now xX).

Testing it is kinda on pause right now, though.

 

Work in Progress: Dungeon Party System

This is not tested, or rather not finished yet. I would say 98% it is, but still need some coordinates for the NPC duplicates which are required for the script to work.

 

</Projects Advertise End>

 

Best regards,

Chris

Edited by llchrisll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

 

 

 

 

Hi guys!

Just a small Information: Since Google Code Project will be disbanded in 2016.

I started to move to GitHub.com, Links will be updated soon.

function	ShopStuff	{
// ==================================================== //
// getarg(0):
//	* 1 - Add
//	* 2 - Remove
//	* 3 - Edit
//	* 4 - Delete Shop
//	* 5 - Shop Creation
// getarg(1): Array Position for Edit & Remove
// getarg(2): Item ID
// getarg(3): Price
// ==================================================== //

Just wanna ask about Dynamic Shop, how can i add this items exactly? is it like this: callfunc "7539","10";

Thanks in advance.

 

 

Nope, the items will be added via Ingame menu, if you talk to the NPC with an GM Account with GM level 60+, but the currency settings can only be edited by GM level 80+.

Just talk to the npc with an GM Account and then choose "View Settings", then you will get instructions how to add items.

 

Note: Maybe I will add another currency to the settings like using a custom variable, like PvP Arena Points > PvPPoints.

That way it would be more dynamically than it is currently.

 

Regards,

Chris

 

 

Oh, i see i'm bit confuse why you didn't combine both getlvlgm Lv 99 since Lv 60 GM is useless all access must be GM 99. but i prefer to add items, via SQL script version much better. good script! :3

 

Well, in my opinion SQL isn't required for an script like that.

If you don't want different GM Levels, go to the bottom of the file to "OnInit:"

and set "set .gm,60;" to "set .gm,99;" and "set .gm_pr,80;" also to "set .gm_pr,99;" 

 

My focus lies currently in this:

<Projects Advertise Start>

Test In Progress: Quest System.

In summary it would be something like AnneRuru's Mission Board (I think it was her script, can't remember right now xX).

Testing it is kinda on pause right now, though.

 

Work in Progress: Dungeon Party System

This is not tested, or rather not finished yet. I would say 98% it is, but still need some coordinates for the NPC duplicates which are required for the script to work.

 

</Projects Advertise End>

 

Best regards,

Chris

 

 

 

Gonna wait for your released :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Update: 06/11-2015: Updated Dynamic Shop v1.0 to v1.1 

- Added more Currency options (Custom Variables, Items)
- Added possiblity to use pre-defined items + prices, which are always in the shop, see 'OnInit:' > $cash_pre_it and $cash_pre_p
- Fixed an bug about the price limit, thanks to Elysium for the bug report
 
Regards,
Chris
Edited by llchrisll
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

i tested it chris, but it gives me error when i buy in the shop. could you please take it? atm i'm not on my pc i can't check it.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

What kind of error? Does the map server say anything? Tell me what you did in the exact same order..

Best regards,

Chris

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Hi llchrisll i would like to report about your "LMS" script, i don't know if it is my SVN or your script.

Bug report: when i trade the 2 options zeny and points it won't trade it says, you don't have last man standing points.

i just set it properly in the settings.
Image:

LDBhuzk.png

 

currently using rA 17327.

hopefully it will be fixed.

 

Thank you for this wonderful released!

Edited by Azeroth
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Update: 9/22-2015: Added 1 New NPC: Quest System v1.0 

See 1st post for information!

As for the bugs in those scripts mentioned above as well modification requests sent to me via PM.

Currently I'm trying to finish that Dungeon Party System I'm working on, afterwards I will try my best to fix those as soon as possible.

Another thing I thought of is, to merge this Quest System with the Dungeon Party System, which I'm already working on apart of it :|.

But first the Dungeon Party System..... 

Regards,

Chris

Edited by llchrisll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

-----------------------------------------------------------------------------------------------------------------------------------------------

==== Update: 9/22-2015: Added 1 New NPC: Quest System v1.0 

 ======

---------------------------------------------------------------------------------------------------------------------------------------------

See 1st post for information!

 

As for the bugs in those scripts mentioned above as well modification requests sent to me via PM.

Currently I'm trying to finish that Dungeon Party System I'm working on, afterwards I will try my best to fix those as soon as possible.

Another thing I thought of is, to merge this Quest System with the Dungeon Party System, which I'm already working on apart of it :|.

But first the Dungeon Party System.....

 

Regards,

Chris

 

Yeah i like this kind of Quest System, i feel more comfortable with it, i haven't found any errors yet but soon i'll post it or PM you,

can i suggest? instead of dispbottom " Mob - Poring 1 something like that, can do it like this way, dispbottom "Monster Hunting: Poring 1/10 Left. 

because i set it into 10 monster hunting, it keeps poping again the dispbottom Mob - Poring 11. it should not pop-up again since it's already 10/10

 

Thank you for this wonderful script.!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Thanks for using this script already :o.

Well, I figured it would end to that about the "overflow" of the messages on Monster Hunting and thought about if I should be it or not.

I just added to my script and will update my Git soon, with it.

 

Regards,

Chris

 

Edit: Updated the script with the modifications.

Edited by llchrisll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Thanks for using this script already :o.

Well, I figured it would end to that about the "overflow" of the messages on Monster Hunting and thought about if I should be it or not.

I just added to my script and will update my Git soon, with it.

 

Regards,

Chris

 

Edit: Updated the script with the modifications.

Thanks for the small quick update, i;ll check it on later.

 

about the array 128 quest might it can help this.

 

 

Script Engine Upgrade

As of 6295c77, rAthena's script engine has been significantly improved!

Thanks to Hercules for the release of it!

Character and Account (and Global Account) Variable Changes:

  • They're no longer limited to #define ACCOUNT/GLOBAL_REG_NUM, they're now limitless.
  • Storage and speed processing have been improved with less traffic being sent between the servers.
  • Character and Account variables now support arrays!
  • Variables stored in global_reg_value are now split up into account, character, and global tables (each having their own string and integer table).

Array Changes:

  • Increased array limit from 127 to 2 billion!
  • Overall speed has been improved through new array handling methods.
  • Script command 'getarraysize' overall processing has also been increased.

Temporary Variable Changes:

  • Variables are now stored in DBMaps which helps with read/write speed.
  • Trying to write to an instance variable outside of an actual instance will now print a warning.

Please report all bugs to the Issue Tracker!

 

Your script still has a bug? i kill 10 Lunatics but it won't trigger or i don't know?

post-3539-0-36569500-1443013366_thumb.png

Edited by Azeroth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Just took a look at that code again and saw an mistype:

At line 495:

if(getd("@KilledMob_"+killedrid) < getd("MobHunt_"+killedrid+"_CT") {

add another ")" at the end, so it looks like that:

if(getd("@KilledMob_"+killedrid) < getd("MobHunt_"+killedrid+"_CT")) {

Also your map server should print something about that in that NPC "QuestSysEvents":

parse_simpleexpr: unmatched ")"

 

Wait for the GitHub fix, maybe coming with bug fixes of the Dungeon Party System.

 

Regards,

Chris

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Just took a look at that code again and saw an mistype:

At line 495:

if(getd("@KilledMob_"+killedrid) < getd("MobHunt_"+killedrid+"_CT") {

add another ")" at the end, so it looks like that:

if(getd("@KilledMob_"+killedrid) < getd("MobHunt_"+killedrid+"_CT")) {

Also your map server should print something about that in that NPC "QuestSysEvents":

parse_simpleexpr: unmatched ")"

Wait for the GitHub fix, maybe coming with bug fixes of the Dungeon Party System.

 

Regards,

Chris

 

Yeah problem solved now so far :) i liked this kind of quest script :) can we add something? @checkquest? so that player won't get any hassle to go the NPC to check the remaining collect / hunting? and also can i suggest? possible to make an 'showevent' icon if there is any available quest. if not it will not SHOW :D

 

Thank you Chris!

Edited by Azeroth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Hmm... @checkquest wouldn't be a problem, would just take maybe 10 lines around.

I would have to check via SQL the quests accepted by the player and then compare the current progress with the required amount

Maybe a good way to practice the "LEFT JOIN" I'm bad at xD.

Not quite sure yet.

 

Well, when I have the time for it I will add it.

* Writing down the request*

 

Regards,

Chris

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Hmm... @checkquest wouldn't be a problem, would just take maybe 10 lines around.

I would have to check via SQL the quests accepted by the player and then compare the current progress with the required amount

Maybe a good way to practice the "LEFT JOIN" I'm bad at xD.

Not quite sure yet.

 

Well, when I have the time for it I will add it.

* Writing down the request*

 

Regards,

Chris

 

Thank you Chris :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Update: 10/01-2015: Updated 2 NPC's: Quest System v1.0 & Fame System v1.2

Quest System:

- Added OnAtcommand (@checkquest) for Quest Progress Display per request

  also an info for the players of the existence of that command

- Added the "feature" to benefit from joining an party
- Modified Level Requirement Setting (See 'OnInit:')
  0 = Off / MAX_LEVEL - Server Max Level (src/map/map.h)
- Added an setting to define the Array Limit, to make it compatible with
  older revisions, which doesn't have the Script Engine Upgrade (See 'set .array')
 
Fame System:
- Added an info for the players of the existence of the custom command
- Added an Repeat Limit per quest and per Class via request
- Added an SQL Ranking via request (See OnInit: for more)
- Added the "feature" to benefit from joining an party
- Modified Level Requirement Setting (See 'OnInit:')
   0 = Off / MAX_LEVEL - Server Max Level (src/map/map.h)
- Added an setting to define the Array Limit, to make it compatible with
   older revisions, which doesn't have the Script Engine Upgrade (See 'set .array')

 

@Azeroth:

About the Last Man Standing Script:

I'm missing some information about what happened at that error, without it I can't figure the problem out.

 

Note:

My Dungeon Party System will be released soon, it's on my GitHub already, just missing the new "topic" for it. :P

Update: 10/03-2015: Added 1 New NPC: Dungeon Party System v1.0 

Dungeon Difficulties: Easy, Medium, Hard EXP Bonus based on Difficulty (Easy = 50%, Medium = 100%, Hard = 150%) Level Requirment for each Dungeon Required Mob Counter to complete an Dungeon Party Limit for Dungeons Party Join Feature Dungeon Rewards (Regular Points for completing an dungeon and Points for killing an MvP Warp Service to the "Start Point" or to party members.

Regards,

Chris

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


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Thank you Chris for the update i'll check your Quest System :D


post-3539-0-92082900-1443974226_thumb.png What is this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  625
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

I'm wondering, didn't get that message o_O.

Let me check it.

Regards,

Chris

Edited by llchrisll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Hello Chris, i have something problem regarding with @checkquest. see my image below.

And also, about the Abort Mission it should be considered (DELAY QUEST) you know what i mean,
e.g Hunt Poring 10/10 and he don't want to complete it and the quest can repeat only once, if he/she abort the quest it should be have the delayed.
 

Sorry about that, i just like this kind of quest system it helps me alot and easy to use than other quest system out there hopefully it will optimized as much more :)

 

http://i.imgur.com/QjaSiyO.png

 

just PM ME, i can send $10 for you :)

 

THANK YOU!

Edited by Azeroth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

-----------------------------------------------------------------------------------------------------------------------------------------------

==== Update: 10/03-2015: Added 1 New NPC: Dungeon Party System v1.0 ======

---------------------------------------------------------------------------------------------------------------------------------------------

  • Dungeon Difficulties: Easy, Medium, Hard
  • EXP Bonus based on Difficulty (Easy = 50%, Medium = 100%, Hard = 150$)
  • Level Requirment for each Dungeon
  • Required Mob Counter to complete an Dungeon
  • Party Limit for Dungeons
  • Party Join Feature
  • Dungeon Rewards (Regular Points for completing an dungeon and Points for killing an MvP
  • Warp Service to the "Start Point" or to party members
Regards,

Chris

 

Awesome release! Can't wait to try it out! :D

 

suggestion:

// (see src/common/mmo.h > #define MAX_PARTY to put it on the same value)

set .pt_max,12;

Source mod to be able to set max party members via conf files :) Edited by jezznar
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:  

-----------------------------------------------------------------------------------------------------------------------------------------------

==== Update: 10/03-2015: Added 1 New NPC: Dungeon Party System v1.0 ======

---------------------------------------------------------------------------------------------------------------------------------------------

  • Dungeon Difficulties: Easy, Medium, Hard
  • EXP Bonus based on Difficulty (Easy = 50%, Medium = 100%, Hard = 150$)
  • Level Requirment for each Dungeon
  • Required Mob Counter to complete an Dungeon
  • Party Limit for Dungeons
  • Party Join Feature
  • Dungeon Rewards (Regular Points for completing an dungeon and Points for killing an MvP
  • Warp Service to the "Start Point" or to party members
Regards,

Chris

Awesome release! Can't wait to try it out! :D

suggestion:

// (see src/common/mmo.h > #define MAX_PARTY to put it on the same value)

set .pt_max,12;

Source mod to be able to set max party members via conf files :)

I think ima make a pull to allow party size to be configurable via party.conf

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