Leaderboard
Popular Content
Showing content with the highest reputation on 01/02/20 in all areas
-
2 points
-
You can see here: https://github.com/rathena/rathena/blob/master/src/map/status.cpp#L38882 points
-
View File @petstats command this command will show you the pet stats see the screenshot for more info you can add it inside /rAthena/src/map/atcommand.cpp or if you use old rathena add it at /rAthena/src/map/atcommand.c file add it like you add any new atcommand and recompile Submitter sader1992 Submitted 09/19/2018 Category Source Modifications Video Content Author sader19921 point
-
1 point
-
The custom label OnAttackMob don't trigger... The script: - script OnAttackMob -1,{ OnAttackMob: mes "ID: ^0000FF"+ mobid +"^000000"; mes "Nome: ^0000FF"+ mobnome$ +"^000000"; mes "Level: ^0000FF"+ moblevel +"^000000"; close; } mob.cpp case BL_PC: { struct map_session_data *sd = (TBL_PC*)src; char_id = sd->status.char_id; if( damage ) md->attacked_id = src->id; //Variáveis Especiais [SlexFire] pc_setglobalreg(sd, add_str("mobid"), md->mob_id); pc_setglobalreg_str(sd, add_str("mobnome$"), md->name); pc_setglobalreg(sd, add_str("moblevel"), md->level); //Slexfire OnAttackMob npc_script_event(sd, NPCE_ATTACKMOB); //<--- Trigger break; } npc.cpp case NPCE_ATTACKMOB: //OnAttackMob return script_config.attackmob_event_name; npc.hpp NPCE_ATTACKMOB, //OnAttackMob script.cpp "OnAttackMob", script.hpp const char *attackmob_event_name; //OnAttackMob1 point
-
Version 1.1.1
1060 downloads
Ehh since my event scripts are piling up, I decided to make an Event Manager // Basic Event Manager // By Mabuhay /*-=-=-=-=-=-=-=-=-=-=-=-=-=- Currently added are the ff : {#} NAME - "NPC_NAME" [1] Bombring - "Event_Bombring" [2] Dice - "Event_Dice" [3] Last Man Standing - "Event_LMS" [4] Novice V Zombie - "Event_NvZ" [5] Poring Catcher - "Poring_Catcher" [6] Poring Hunter - "Poring_Hunter" (Added 12-15-2019) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ // For easier management of Event NPCs ///////////////////////////////////// // NOTE: // ///////////////////////////////////// // I don't support any modifications unless I want to. // But if you want to change things especially the rewards, // Please refer to my F_Reward Functions // https://rathena.org/board/files/file/4068-itemvariablepoints-reward-function-for-beginners-or-lazy/ // You should be able to easily change the rewards // If you have basic scripting knowledge Header Settings: OnInit: // 1 = item reward // 2 = variable/cashpoints reward // If you want to set item and variable/cashpoints rewards, do 1|2. // If you only want 1, just choose between 1 or 2 $event_options = 1|2; // If item reward enabled // What items will be rewarded setarray $event_item_reward, 501, 10, 502, 5; // If variable reward.. set to your variable. // If cashpoints.. set to #CASHPOINTS / #KAFRAPOINTS (Free Cash Points) $event_var$ = "#EVENTVARIABLE"; // Variable name? // If cash points, set to Cash Points // If your custom var, set to the name of that thing. $event_var_name$ = "Custom Points"; // How much points gain if #VAR / #CASHPOINTS / #KAFRAPOINTS? $event_var_gain = 1; $event_item_arr = getarraysize($event_item_reward); // @eventstart for GM bindatcmd "eventstart", strnpcinfo(0)+"::OnStart",60,60; // @eventjoin bindatcmd "eventjoin", strnpcinfo(0)+"::OnJoinEvent"; end; You may now use @eventstart for GMs to select which ones to start. @eventjoin for players to enter and see which event is currently active Event timers / Clock are to be set here : // OnClock<hour><minute>: donpcevent "<npc_name>::OnStart"; OnClock0000: donpcevent "Event_Bombring::OnStart"; end; //----- 12 mn OnClock0100: donpcevent "Event_Dice::OnStart"; end; OnClock0200: donpcevent "Event_LMS::OnStart"; end; OnClock0300: donpcevent "Poring_Catcher::OnStart"; end; OnClock0400: donpcevent "Event_NvZ::OnStart"; end; OnClock0500: donpcevent "Poring_Hunter::OnStart"; end; OnClock0600: donpcevent "Event_Bombring::OnStart"; end; //----- 6 am OnClock0700: donpcevent "Event_Dice::OnStart"; end; OnClock0800: donpcevent "Event_LMS::OnStart"; end; OnClock0900: donpcevent "Poring_Catcher::OnStart"; end; OnClock1000: donpcevent "Event_NvZ::OnStart"; end; OnClock1100: donpcevent "Poring_Hunter::OnStart"; end; OnClock1200: donpcevent "Event_Bombring::OnStart"; end; //----- 12 nn OnClock1300: donpcevent "Event_Dice::OnStart"; end; OnClock1400: donpcevent "Event_LMS::OnStart"; end; OnClock1500: donpcevent "Poring_Catcher::OnStart"; end; OnClock1600: donpcevent "Event_NvZ::OnStart"; end; OnClock1700: donpcevent "::OnStart"; end; OnClock1800: donpcevent "Event_Bombring::OnStart"; end; //----- 6 pm OnClock1900: donpcevent "Event_Dice::OnStart"; end; OnClock2000: donpcevent "Event_LMS::OnStart"; end; OnClock2100: donpcevent "Poring_Catcher::OnStart"; end; OnClock2200: donpcevent "Event_NvZ::OnStart"; end; OnClock2300: donpcevent "Poring_Hunter::OnStart"; end; //----- 11 pm Currently I just alternately activate events per hour. You can change the event time as you wish. You may choose any of the ff: OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>: I hope this helps. If you want me to add more, just PM me on an event script that needs to be updated. Thank you. ? Compatibility is your responsibility. No backward Compatibility Support. Enjoy! NOTE : If you find this useful, please click the Upvote button to motivate me to do stuffs like this ? And you are welcome!Free1 point -
@Cretino, Thanks for the explanation of the error itself. With every script problem, I've been learning and understanding more thanks to people like you. @Mabuhay, thanks for the attention my friend! If you can update the script fix on the original link, I will be grateful. Link: @Problem solved!1 point
-
I already have fixed this on latest version of event manager. To fix, find for.. .start = false; Then replace to .start = .round = false;1 point
-
The problem is '.round' variable, your script don't reset the value when executes the first time. Try this one I changed: I not tested, but I think will work. Good luck. ?1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
Version 2.0.0
909 downloads
this application help you calculate the monster mode for more info about the monster mode https://github.com/rathena/rathena/blob/master/doc/mob_db_mode_list.txt Update v2.0: this update only for rAthena +2016 support sql , support reverse result , add reset button Contact me for Errors https://github.com/sader1992/sader_scriptsFree1 point -
you should use search engine. i already answer that question.1 point
-
Try this a simple example: prontera,151,187,4 script TesterIP 88,{ getpartymember getcharid(1),2; .@count = $@partymembercount; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[0], .@ip1$; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[1], .@ip2$; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[2], .@ip3$; //After executing the code above,IPs of respective members are stored in .@ip1$, .@ip2$ and .@ip3$ //Showing them: mes .@ip1$; mes .@ip2$; mes .@ip3$; close; }1 point
-
1 point
-
1 point
-
Version 1.0
183 downloads
This is a NPC script for FluxCP Credits and Vote points in order for the players to exchange them for Cash Points ingame. Credits to JayPee Mateo https://github.com/Feefty/FluxCP_Addons-VoteForPoints/blob/master/npc/voteforpoints.txt But this script was completely changed so that no lines were used from the original Make sure to replace "ragnarok_db" with your database name on line 19 and 20Free1 point -
1 point
-
@Kincy Quando você baixa o thor patcher ele vem com a pasta Web, recomendo que você nomeie ela para patch (vou chama-lá assim a partir de agora) Dentro da pasta patch (Antiga Web) você tem o arquivo main.ini, que contém a seguinte linha: file_url=http://domain.com/patch/data/ Troca o domain.com pelo IP (ou domínio) da hospedagem, vamos supor que ele seja 41.635.624.532, ficando assim: file_url=http://41.635.624.532/patch/data/ Copia a pasta patch e joga dentro da pasta raiz da hospedagem (a mesma que fica o index.html do site) Agora no arquivo tools/config.ini, você atualiza as seguintes linhas com o IP: RootURL='http://41.635.624.532k/patch/' URL='http://41.635.624.532/patch/notice.html' Compila um novo thor.exe, abre ele e vê se o botão jogar (ou play) está habilitado. Se sim, já é um grandíssimo avanço. Qualquer duvida manda inbox1 point
-
Hi again, dear community. ♥ Here's another map I wanted to share. The server I made this for liked the idea of adding Endless Cellar but not so much using the Endless Tower map(s) all over again, so they left me with a commission; They wanted something else, something new, something... dark. Well, this is the result. I will not deny, it's a relatively small area that had to be over-hauled, however, the particular small area had to be copied over about 25 times, which was rather nerve-wrecking considering how brow likes to crash - a lot - when copy/pasting. Thanks for watching. As always, comments and criticism is welcome! ♥ -- Update! Map can now be purchased with an rA compatible script from > my site < --1 point
-
Version 0.6
3872 downloads
NPC Creator Hello all, I just recently made this program in order to Help with some of my scripting structure, instead of having to deal with typeing out all those lines or opening that other program eascriptable, with this i can just run the program type in the info and it saves it as a txt file in the directory specified with the structure all laid out. If anyone has any suggestions im free to hear them and if this kicks off i'll develop it more, i have a few ideas in my head, Customizeable Quest Scripts through gui and such :3. FEEL FREE TO DROP ME A LINE VIA PM IF YOU WOULD LIKE TO SEE OTHER THINGS ADDED TO THIS, 400+ DOWNLOADS I KNOW YOU ALL WANT SOMETHING DIFFERENT ADDED TO THIS >.>Free1 point