Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/14/21 in Posts

  1. 2 points
    loong

    [SHOWCASE]Loong's SPR

    Hello,Every body,long time no see!
  2. 1 point
    Hello Herc, I hope you enjoy testing out my Farm Zone Instance creator script. Here's some information about the script: It is a Beta Build. I will be updating this script frequently. So be on the lookout for my GitHub updates. IMPORTANT: Player cannot access until you setup and enable farm zones Edit .GMList$ array for certain GM names to use GM menu When creating Farm Zone instance you: 1) Create total amount of Farm Zones you want (Say you make Elunium, Oridicon, Dead Brach, Bloody Branch, and EXP Farming) when clicking [First Click] in npc Menu you would make 5. This is just an example 2) Type out names of instances 2) Input delay time (this was working and now it's randomly not) 3) Input item ID 4) Input Max amount of items 5) Input rate at which you want player to receive item You can either download it directly from an upload I did on Hercules, or download directly from my GitHub. GitHub Link: https://github.com/Aeromesi/AeromesiCodes/blob/master/Instances/Hercules/CopyPaste/npc/custom/custom_instances/farm_creator_instance_Herc.txt farm_creator_instance_Herc.txt
  3. 1 point
    unfortunately no because they have instance_db and cant create instances directly when the server is online, hercules have this feature
  4. 1 point
    View File [Custom Instance] Ice Titans Attack El Dicastes 2021 NEW! [Custom Instance] Ice Titans Attack El Dicastes Story Line: The Ice Titans have invaded Dicastes and put the Citizens into an eternal frozen slumber, you must finish off all the Ice Titans as well as save all the citizens. If you die you LOSE! Please read the Change-Log and view the Screenshots to get a general idea of the instance! Also so you know what to edit for rewards and of the such. Just download, carefully read the .txt files and enjoy! If you ever have problems installing, you can PM me on Hercules or add my Discord: Aeromesi#0293 Hope you enjoy Hercules. Submitter Aeromesi Submitted 04/08/16 Category Events & Games  
  5. 1 point
    Habilis

    [AutoEvent] Trivia

    Hello, as promised here is a Trivia auto event. This script is originally way back from eA, it was adjusted on rA. (All credits in the header) And now, I decided to Enhance it. - An enhanced version of facts auto event. The Event is announced. The NPC asks 10 random - questions from a question bank. Players have to write the answer to the main chat. - Players don't need to worry about CAPITAL letters. - 1) Question is asked by the NPC. - 2) If there is no answer after 15 seconds NPC will give a hint. - 3) IF there is still no answer after a hint, the question is skipped. - 4) If the right answer is given, the player is announced and the reward is given Side notes: 1) Control If you have some kind of AutoEbent Controller, I've included the event control methods OnEventStart: OnStop: OnEventTimeOut: If you don't have a controller and just want to test this event, just setup the timers, when this event will run ex: OnMinute33: 2) Rewards I have special Event points, that I'm giving to the winners. If you like to give Items or Zeny, I Included the examples in the code // Winner gets reward in Zeny //Zeny += 1000000; // Alotta bax ;) 3) Questions definition To define more questions you need to follow this pattern DefineQuestion("<question>", "<answer>", "<hint>"); 4) Cheating I'm aware that this event can be cheated/Automated by players. Therefore only a modest reward is given
  6. 1 point
    ok, I'm noob lilith's post is the correct answer hercules/rathena already have clif_colormes https://github.com/HerculesWS/Hercules/blob/master/src/map/clif.c#L8352 so just need to tweak the script command a little bit and it shall be done BUILDIN_FUNC(dispbottom2) { TBL_PC *sd; if ( script_hasdata(st,4) ) { if ( data_isstring( script_getdata(st,4) ) ) sd = map_nick2sd( script_getstr(st,4) ); else sd = map_id2sd( script_getnum(st,4) ); } else sd = script_rid2sd(st); if ( sd ) { unsigned int colorcode; if ( script_hasdata(st,3) ) colorcode = script_getnum(st,3); else colorcode = 0xbbffbb; clif_colormes( sd, colorcode, script_getstr(st,2) ); } return 0;} huh ? why not ? it looks cool ! xD I have tried to do message2 which display color message overhead your character however I have found no known way to display a color message on top of your own head it seems possible for other players to see your color message, but not by your own
  7. 1 point
    OMFG !!totally forgotten about channel system you are right, NO LIMITATION I used rathena emulator to get this working fine BUILDIN_FUNC(dispbottom) { TBL_PC *sd; if ( script_hasdata(st,4) ) { if ( data_isstring( script_getdata(st,4) ) ) sd = map_nick2sd( script_getstr(st,4) ); else sd = map_id2sd( script_getnum(st,4) ); } else sd = script_rid2sd(st); if ( sd ) { const char* msg = script_getstr(st,2); unsigned short msg_len = strlen( msg ) +1; unsigned int colorcode; if ( script_hasdata(st,3) ) colorcode = script_getnum(st,3); else colorcode = 0xbbffbb; WFIFOHEAD( sd->fd, msg_len + 12 ); WFIFOW(sd->fd,0) = 0x2C1; WFIFOW(sd->fd,2) = msg_len + 12; WFIFOL(sd->fd,4) = 0; WFIFOL(sd->fd,8) = colorcode; safestrncpy((char*)WFIFOP(sd->fd,12), msg, msg_len); WFIFOSET( sd->fd, msg_len + 12 ); } return 0;} BUILDIN_DEF(dispbottom,"s??"),it works !prontera,162,180,5 script kjsdfhksdjf 100,{ dispbottom "test color"; dispbottom "test color", 0xff0000; dispbottom "test color", 0x0000ff; dispbottom "test color", 0xffffff; dispbottom "test color", 0xff00ff; end;}
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.