-
Posts
254 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by Xynvaroth
-
disconnected from server for all player
Xynvaroth replied to seifman123's question in General Support
Moved to General Support. -
Update: Thank you, Kenpachi, for your suggestion!
-
Update: Thank you, Kenpachi, for your suggestion!
-
Update: Thank you, Kenpachi, for your suggestion!
-
Xynvaroth_Array 2.0 - Added Xynvaroth_Array_Search( ). - Added Xynvaroth_Array_SearchAndDestroy( ).
-
2.0 - Added Xynvaroth_Array_Search( ). - Added Xynvaroth_Array_SearchAndDestroy( ).
-
Xynvaroth_CurrencyManager 3.0 - Xynvaroth_CurrencyChooser is now Xynvaroth_CurrencyManager. - Renamed Xynvaroth_CurrencyChooser( ) to Xynvaroth_CurrencyManager_Choose( ). - Renamed Xynvaroth_CurrencyChooser_Check( ) to Xynvaroth_CurrencyManager_CheckTake( ). - Updated Xynvaroth_CurrencyManager_Take( ). - Added Xynvaroth_CurrencyManager_CheckGive( ). - Added Xynvaroth_CurrencyManager_Give( ). - Fixed syntax errors in the examples. - Changed hyperlink now leading to my script collection. Xynvaroth_ItemManager 4.0 - Xynvaroth_ItemChooser is now Xynvaroth_ItemManager. - Renamed Xynvaroth_ItemChooser( ) to Xynvaroth_ItemManager_Choose( ). - Added Xynvaroth_ItemManager_CheckTake( ) (renamed from Xynvaroth_ItemChooser_Check( )). - Updated Xynvaroth_ItemManager_Take( ). - Added Xynvaroth_ItemManager_CheckGive( ). - Added Xynvaroth_ItemManager_Give( ). - Fixed syntax errors in the examples. - Changed hyperlink now leading to my script collection.
-
4.0 - Xynvaroth_ItemChooser is now Xynvaroth_ItemManager. - Renamed Xynvaroth_ItemChooser( ) to Xynvaroth_ItemManager_Choose( ). - Added Xynvaroth_ItemManager_CheckTake( ) (renamed from Xynvaroth_ItemChooser_Check( )). - Updated Xynvaroth_ItemManager_Take( ). - Added Xynvaroth_ItemManager_CheckGive( ). - Added Xynvaroth_ItemManager_Give( ). - Fixed syntax errors in the examples. - Changed hyperlink now leading to my script collection.
-
3.0 - Xynvaroth_CurrencyChooser is now Xynvaroth_CurrencyManager. - Renamed Xynvaroth_CurrencyChooser( ) to Xynvaroth_CurrencyManager_Choose( ). - Renamed Xynvaroth_CurrencyChooser_Check( ) to Xynvaroth_CurrencyManager_CheckTake( ). - Updated Xynvaroth_CurrencyManager_Take( ). - Added Xynvaroth_CurrencyManager_CheckGive( ). - Added Xynvaroth_CurrencyManager_Give( ). - Fixed syntax errors in the examples. - Changed hyperlink now leading to my script collection.
-
Xynvaroth_TextManager 3.0 - Added a functionality to split the texts over multiple arrays due to the rAthena's scripting engine's array size limit of 127. - Revised the examples.
-
3.0 - Added a functionality to split the texts over multiple arrays due to the rAthena's scripting engine's array size limit of 127. - Revised the examples.
-
how can i make this script automatically start every 2hrs?
Xynvaroth replied to Brynner's question in Scripting Support
The second version. -
how can i make this script automatically start every 2hrs?
Xynvaroth replied to Brynner's question in Scripting Support
1. To run a scripting code every two hours, you can either use OnHour00: OnHour02: OnHour04: OnHour06: OnHour08: OnHour10: OnHour12: OnHour14: OnHour16: OnHour18: OnHour20: OnHour22: <scripting code> end;(recommended)or OnInit: while( 1 ) { <scripting code> sleep 7200000; } end;2.Change this part: set $KoEZenyPrize,0; set $KoEItemPrize1,0; set $KoEItemAmount1,0; set $KoEItemPrize2,0; set $KoEItemAmount2,0; set $KoEItemPrize3,0; set $KoEItemAmount3,0; set $KoEItemPrize4,0; set $KoEItemAmount4,0; set $KoEItemPrize5,0; set $KoEItemAmount5,0; -
You have deleted the MySQL tables. Do what Lil Troll said in this post.
-
Source Requests Rules This section is - like all sections - affected by the general rAthena Board Rules. You may post into this area to demand someone of the community to write a concrete source code for you. Source code is the content of a any file inside the trunk/src folder. You may only answer to topics of this area if you provide source code concerning the request or if you post a productive question, for instance asking for more details if they are missing. For each new request, you will have to open a new topic. When you open a new topic, you will have to chose an informative topic title. You have to clearly and elaborately describe your request. If you demand changes for existing source code, you have to provide this source code in your topic. You will have to use the code bbcode tag whenever you would like to post source code. The Source Requests Rules were created and are maintained by Xynvaroth. If you have any questions concerning the Source Requests Rules, please contact him.
- 1 reply
-
- 1
-
-
Source Support Rules This section is - like all sections - affected by the general rAthena Board Rules. You may post into this area to request help concerning source code. Source code is the content of a any file inside the trunk/src folder. You may only post into this area if you are willing to either write or make changes to source code yourself. You can not expect other members to give you full working source code - you can be happy though if that happens nevertheless. That said, you might only receive a general advice how to solve your problem without any concrete source code. If you have no idea about source code and want someone to write new or change source code for your, post it into the Source Requests. For each new problem, you will have to open a new topic. When you open a new topic, you will have to chose an informative topic title. You have to clearly and elaborately describe your problem. If you request help for existing source code, you have to provide this source in your topic. If your map-server displays error messages concerning the problem you have, you will have to provide these error messages in your topic. You will have to use the code bbcode tag whenever you would like to post either a source code or map-server error messages. The Source Support Rules were created and are maintained by Xynvaroth. If you have any questions concerning the Source Support Rules, please contact him.
-
Database Requests Rules This section is - like all sections - affected by the general rAthena Board Rules. You may post into this area to demand someone of the community to either write a database change, a new database or MySQL queries for you. A database can either be any file inside the trunk/db/ folder or any MySQL table of your server. You may only write about databases which belongs to rAthena or which you are planning to use to interact with a scripting code of rAthena. You may only answer to topics of this area if you provide database code concerning the request or if you post a productive question, for instance asking for more details if they are missing. For each new request, you will have to open a new topic. If you open a new topic, you will have to chose an informative topic title. You have to clearly and elaborately describe your request. If you demand changes for an existing database, you have to provide this database in your topic. You will have to use the code bbcode tag whenever you would like to post either a database or map-server error messages. The Database Requests Rules were created and are maintained by Xynvaroth. If you have any questions concerning the Database Requests Rules, please contact him.
-
Database Support RulesThis section is - like all sections - affected by the general rAthena Board Rules. You may post into this area to demand help concerning a database. A database can either be any file inside the trunk/db/ folder or any MySQL table of your server. You may only write about databases which belongs to rAthena or which you are planning to use to interact with a scripting code of rAthena. You may only post into this area if you are willing to either write a new or make changes to a database yourself. You can not expect other members to give you a new or a changed database - you can be happy though if that happens nevertheless. That said, you might only receive a general advice how to solve your problem without any concrete databases. If you have no idea about databases at all and want someone to write or change a database for your, post it into the Database Requests. For each new problem, you will have to open a new topic. When you open a new topic, you will have to chose an informative topic title. You have to clearly and elaborately describe your problem. If you demand help for an existing database, you have to provide this database in your topic. If your map-server displays error messages concerning the database, you will have to provide these error messages in your topic. You will have to use the code bbcode tag whenever you would like to post either a database or map-server error messages.
-
Scripting Requests Rules This section is - like all sections - affected by the general rAthena Board Rules. You may post into this area to demand someone of the community to write a concrete scripting code for you. Scripting code is the content of a file you will load to your server using the "npc: <path>" syntax. You may only answer to topics of this area if you provide scripting code concerning the request or if you post a productive question, for instance asking for more details if they are missing. For each new request, you will have to open a new topic. When you open a new topic, you will have to chose an informative topic title. You have to clearly and elaborately describe your request. If you demand changes for existing scripting code, you have to provide this scripting code in your topic. You will have to use the code bbcode tag whenever you would like to post either scripting code or map-server error messages. The Scripting Requests Rules were created and are maintained by Script Leader and Support Leader. If you have any questions concerning the Scripting Requests Rules, please contact them.
-
Scripting Support Rules This section is - like all sections - affected by the general rAthena Board Rules. You may post into this area to ask for help concerning scripting code. Scripting code is the content of a file you will load to your server using the "npc: <path>" syntax. You may only post into this area if you are willing to either write new or make changes to scripting code yourself. You can not expect other members to give you full working scripting code - you can be happy though if that happens nevertheless. That said, you might only receive a general advice how to solve your problem without any concrete scripting code. If you have no idea about scripting and want someone to write new or change scripting code for your, post it into the Script Requests. For each new problem, you will have to open a new topic. When you open a new topic, you will have to chose an informative topic title. You have to clearly and elaborately describe your problem. If you require help with existing scripting code, you have to provide this scripting code in your topic. If your map-server displays error messages concerning the problem you have, you will have to provide these error messages in your topic. You will have to use the code bbcode tag whenever you would like to post either scripting code or map-server error messages.
-
The first problem is thatgetarraysize(@cm_aut$) - 1will equal a negative one if @cm_aut$ is empty which happens if there is no dataset in the table. Change if(@cm_aut$[getarraysize(@cm_aut$) - 1] == strcharinfo(0)) {toif(@cm_aut$[ 0 ] == strcharinfo(0)) { The second problem is that if there are new datasets inserted into the table, the next free ID is selected wrongly. Change query_sql "SELECT `anno_id` FROM `igb_anno`",@a_id;toquery_sql "SELECT MAX( `anno_id` ) FROM `igp_anno` WHERE 1 LIMIT 1" , .@a_id
-
The difference is that the OnXX solution will end after triggering, while the sleep2 command causes the server to keep the script saved in a running - yet frozen - state. Eventually, everyone will have to decide her- or himself whether rather using a more complicated, but less resourcement intensive solution, or a easier to understand solution. That said, I did not want to give you the feeling that your solution is wrong in whatever way; sorry if that happened.
-
[...] Monsters can also trigger the NPC, though the label 'OnTouchNPC:' is used in this case. [...] If <GID> is zero, the command runs for the unit that invoked the script. This can be used with "OnTouch" to warp monsters: OnTouch: unitwarp 0,"this",-1,-1; [...]Taken from trunk/doc/script_commands.txt. I do not really understand how this will solve the problem, because if you have no label to be triggered at all, the monsters will not be warped either. bif_fild01,72,61,4 script Meta Spirit 2114,5,5,{ mes "I will protect this city with my blazing fire!"; emotion e_no1; close; OnTouch: end; OnTouchNPC: unitwarp 0, "this", -1, -1; end; }
-
Please post a clear and complete question. I do not think people will understand what you actually mean with this.