-
Posts
1691 -
Joined
-
Last visited
-
Days Won
77
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by sader1992
-
prontera,0,0,0 script poring_count 444,{ mes "you have killed (" + poring_kill_count + ") Porings."; next; mes "reset the count ?"; if(select("yes:no") == 1) poring_kill_count = 0; end; OnNPCKillEvent: if(killedrid == 1002){ poring_kill_count++; } end; } this only work with monsters without label
-
please do not edit the topic directly you can update the information of the file in the download section
- 1 reply
-
- 1
-
-
you can create a global variable with the index of the guild id like OnMonsterDead: if(getcharid(2) && $GLOBALGUILDQUEST[getcharid(2)]){ $GLOBALGUILDQUESTCOUNT[getcharid(2)]++; } end; //$GLOBALGUILDQUEST is a variable true or falce to check if the guild have the quest or not , normally just set it to true when they take the quest and false when they are done //$GLOBALGUILDQUESTCOUNT is variable for the kill count in this case and you can check for the count too
-
i think it's disabled in the client side in 2015 or 2016 , don't remember so you can't use it if you use 2015+ client i think you can request a patch to enable it at https://gitlab.com/4144/Nemo/ but i don't think you will get it
-
2018 Client ? System/OngoingQuestInfoList_Sakray.lub
-
look like your item db is herc's item db are you using rAthena ?
-
nothing impossible if you have the time to do it
-
the other post is in the wrong section you can't do this with a script , you need a src edit if there is no config for that , and i think there isn't
-
you need to provide the codes you edit to fix it if you don't know what the errors means
-
src/map/script.cpp BUILDIN_FUNC(getguildexp) { int guild_id = script_getnum(st, 2); struct guild* g; if((g = guild_search(guild_id)) == NULL){ ShowWarning("buildin_getguildexp: unknown guild id '%d'.\n", guild_id); return SCRIPT_CMD_FAILURE; } script_pushint(st, g->exp); return SCRIPT_CMD_SUCCESS; } BUILDIN_DEF(getguildexp,"i"), you need to check out how to add a command script before edit ofc after editing recompiling
-
https://github.com/crazystorm2017/Rathena-Script-Collection/blob/fdfef9b16ecb227d7647c53e40b1e89ab718d611/Script/Charleston Crisis/Verus_Merchants.c#L81 line 81 change .@miss++ to .@miss++; (in another word , add semicolon after .@miss++)
-
Can not register if Japanese is mixed at the time of character creation.
sader1992 replied to lleldigm's question in General Support
https://github.com/rathena/rathena/blob/34971e57fa6b52a6811c7f1dae83486c58486aed/conf/char_athena.conf#L150 // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are: // NOTE: Applies to character, party and guild names. // 0: no restriction (default) // 1: only letters/symbols in 'char_name_letters' option. // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles. char_name_option: 1 // Set the letters/symbols that you want use with the 'char_name_option' option. // Note: Don't add spaces unless you mean to add 'space' to the list. char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 char_name_option: 0 or you add the characters in this char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 i think you might need to separate them in space ? maybe? don't know about Japanese -
int guild_id = script_getnum(st, 2); struct guild* g = guild_search(guild_id); script_pushint(st, g->exp);
-
/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found
sader1992 replied to Wrongway's question in Installation Support
-
View File set and get and delete Variable for Gepard with this you can add a "like" variable that hooked to the unique id that Gepard provide ofc the script wont work without Gepard Shield Faster Explanation: all you need to know if you already know how to script: TO SET EXAMPLE: Account Variable in rAthena EX: #VAR = 10; Character Variable in rAthena EX: VAR = 10; Gepard Variable ? > with this functions EX: gepard_int_set("VAR",10); AFTER THE ABOVE THE RESULT WOULD BE> TO GET EXAMPLE: Account Variable in rAthena EX: mes "" + #VAR;// = 10 Character Variable in rAthena EX: mes "" + VAR;// = 10 Gepard Variable ? > with this functions EX: mes "" + gepard_int_get("VAR");// = 10 Extra: Delete from all players a Gepard Variable gepard_delete("VAR");//delete "VAR" with any index from all players Delete from all players a Gepard Variable with an index gepard_delete("VAR",1);//delete "VAR" with index 1 from all players Download the test NPCs for more Explanation: Script Header: //===== rAthena Script ======================================= //= set and get for gepard //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //= https://github.com/sader1992/sader_scripts //===== Description: ========================================= <<<<<<< READ ME! //= YOU MUST RUN THE SQL SCRIPT IN YOUR MAIN SQL FIRST!!!!! //= you should add this to the end of your 'rathena/npc/other/Global_Functions.txt' //= gepard_int_get(<"key">{,<index>{,<"unique id">}}); //= gepard_string_get(<"key">{,<index>{,<"unique id">}}); //= gepard_int_set(<"key">,<value>{,<index>{,<"unique id">}}); //= gepard_string_set(<"key">,<"value">{,<index>{,<"unique id">}}); //= gepard_delete(<"key">{,<index>}); //============================================================ /* //ADD THIS TO YOUR SQL! CREATE TABLE IF NOT EXISTS `gepard_reg_num` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` int(11) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `gepard_reg_str` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` varchar(254) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; */ Submitter sader1992 Submitted 06/16/19 Category Utilities Video Content Author sader1992
-
Version 1.1.0
831 downloads
with this you can add a "like" variable that hooked to the unique id that Gepard provide ofc the script wont work without Gepard Shield Faster Explanation: all you need to know if you already know how to script: TO SET EXAMPLE: Account Variable in rAthena EX: #VAR = 10; Character Variable in rAthena EX: VAR = 10; Gepard Variable ? > with this functions EX: gepard_int_set("VAR",10); AFTER THE ABOVE THE RESULT WOULD BE> TO GET EXAMPLE: Account Variable in rAthena EX: mes "" + #VAR;// = 10 Character Variable in rAthena EX: mes "" + VAR;// = 10 Gepard Variable ? > with this functions EX: mes "" + gepard_int_get("VAR");// = 10 Extra: Delete from all players a Gepard Variable gepard_delete("VAR");//delete "VAR" with any index from all players Delete from all players a Gepard Variable with an index gepard_delete("VAR",1);//delete "VAR" with index 1 from all players Download the test NPCs for more Explanation: Script Header: //===== rAthena Script ======================================= //= set and get for gepard //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //= https://github.com/sader1992/sader_scripts //===== Description: ========================================= <<<<<<< READ ME! //= YOU MUST RUN THE SQL SCRIPT IN YOUR MAIN SQL FIRST!!!!! //= you should add this to the end of your 'rathena/npc/other/Global_Functions.txt' //= gepard_int_get(<"key">{,<index>{,<"unique id">}}); //= gepard_string_get(<"key">{,<index>{,<"unique id">}}); //= gepard_int_set(<"key">,<value>{,<index>{,<"unique id">}}); //= gepard_string_set(<"key">,<"value">{,<index>{,<"unique id">}}); //= gepard_delete(<"key">{,<index>}); //============================================================ /* //ADD THIS TO YOUR SQL! CREATE TABLE IF NOT EXISTS `gepard_reg_num` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` int(11) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `gepard_reg_str` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` varchar(254) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; */Free -
you have to think about it more in my opinion before you go on with your plans and pay for anything it's a cool idea but i don't think it would work irl things to think about 1/ how many ppl would benefit from it if it's a small number it's not worth it most of the server owners have a private server to test , in local or a public/private test server 2/ script conflicting as you know most ppl would use npc_names/variables you need to think about that as a lot of people will and did do this like for example PVP_NPC/Warper/PVP Warper/PVP_System/Mvp Leader/PVP Leader etc so you need to add rules for the scripts added, and where there is rules people would try to get around it xD 3/ Pressure most scripts that are really worth adding in the server would use some calculation in x time or when x something has been done you can already imagine how many scripts would calculate something at the same time , and it's very easy to break things if you don't know what the other scripts are , not you , the scripter him self does not know what in the other scripts 4/ Testing you would need to test and approve everything in the server before it's added , or else the scripter can do some dump things to mess up the server like getting the account/pass from sql or just to mess up other scripts in the server for someone he does not like , or even to mess up the server it self like blocking all the accounts or delete all the accounts or delete all the database so it's hard to give the scripters access to the server , or else you might get to some problems , and it's easy to do something and undo it in the script so any scripter could just block everyone from the server and edit his script like nothing happen 5/ and the main point for me is the script compatibility you can't find the server that can run everything most scripters uses old rAthena version , and as rAthena is a project , there is updates all the time so some of the scripts would be out of dates or in my case , i use a lot of commands that are PR and not approved yet in rathena some users might have also src edit for the script to work 6/ Time think about how much time you would take to manage the server all the time even if you got everything working you would back to 1 and 6 (how any people benefiting from this/time) i am not trying to be negative , i just telling you to think about those things too , before you go on with your plan anyway , hope everything will workout with you.
-
https://github.com/zackdreaver/ROenglishRE
-
Custom wings problem [Only can see them in equipped items]
sader1992 replied to Diana's question in Client-side Support
data\luafiles514\lua files\transparentItem\transparentItem.lub -
update your grfs https://rathena.org/board/topic/106413-kro-full-client-2019-02-25-includes-bgm-rsu/
-
https://github.com/rathena/rathena/wiki/Basic-Scripting#adding-scripts
-
how to use a script without item without equipping it.
sader1992 replied to Tassadar's question in Scripting Support
- script bonus_for_7169 -1,{ OnPCStatCalcEvent: if(countitem(7169)){ bonus bInt,5; } end; } -
how to use a script without item without equipping it.
sader1992 replied to Tassadar's question in Scripting Support
what the item id ? and how many int ? -
apple item = iteminfo.lua => unidentifiedResourceName and identifiedResourceName make sure the item's file name is right
-
How to get unique id from OnSellItem ?
sader1992 replied to Litro Endemic's question in Source Support
https://github.com/rathena/rathena/pull/4195/files