Jump to content

pajodex

Members
  • Posts

    359
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by pajodex

  1. Version 1.0.0

    373 downloads

    Hi, It's been a while.. I was bored and feels good today.. So I will release a free BG script I wrote months ago.. I updated some of its parts like UNITTYPE_ to BL_ to avoid any warning messages on latest rathena console.. but if your using an older ra version, Just search BL_ and replace with UNITTYPE_ .. Enough with the talking, here is how this works.. ( I was about to make a video but I got lazy ) I tested it and it is working (03-24-2019).. I don't think I would support this script further because I will be busy. Well, you are free to edit this as much as you need.. Just don't remove my signature and Don't resell this.. Enjoy and have a great day!
    Free
  2. Don't use ALT... or use this script - script Test -1,{ OnAtCmd: if (getgmlevel() < 60 ) // if GM level is less than 60 dispbottom "Invalid command.", 0xFF0000; // this happens end; OnInit: bindatcmd "warp", strnpcinfo(0)+"::OnAtCmd"; // when player type @warp } @Emonizer08
  3. I was suspecting it loaded the RUBGController npc first.. therefore it loaded the commands first too which the rest of the scripts are loaded after that npc was loaded.. maybe your offline server wasn't able to simultaneously load the rest of the npcs while it loaded RUBGController which caused the problem.
  4. @NakedWolf I don't get any errors like that.. try this method.. look for this npc.. - script RUBGController -1,{ then transfer it all the way to the bottom of the whole thing.
  5. https://pastebin.com/jptQvwtW -- English version Translated to English.. I didn't bothered correcting some grammar.. Tested it and so far I encountered minor problems like mobs all over the area. I bet it needs to be a fully-fledged PUBG script only server? If im not mistaken.. Anyways this can be optimized on a lot of ways.. Im eyeing to optimize this to a sole instanced battleground system once I get a time..
  6. prontera,150,150,4 script npc 92,{ switch(Class) { case Job_Rune_Knight: case Job_Royal_Guard: case Job_Warlock: case Job_Sorcerer: case Job_Ranger: case Job_Minstrel: case Job_Wanderer: case Job_Arch_Bishop: case Job_Sura: case Job_Mechanic: case Job_Genetic: case Job_Guillotine_Cross: case Job_Shadow_Chaser: case Job_Kagerou: case Job_Oboro: break; // goes to `this happens` default: end; // if not listed above, ends npc conversation } mes "Hello"; // this happens close; } im sure there was a simplified one, EAJ_THIRD? not sure but that will work.
  7. I barely explained anything... Glad to help
  8. switch(select((countitem(34996))?"Insertar Ticket Clase C":"" , (countitem(34995)) ? "Insertar Ticket Clase B":"", (countitem(34994)) ? "Insertar Ticket Clase A":"", (countitem(34993)) ? "Insertar Ticket Clase S":"", "Cancelar"))
  9. switch(select( (countitem(34996) >= 1)? "wow you have item 34996":"some text")) { }
  10. You could've used the search function.
  11. add something like.. announce "["+strcharinfo(0)+"] has just obtained a ["+getitemname( [email protected] )+"("[email protected]+")] from a Custom Box.",0;
  12. I just read your code right now, I think there is a better way to do that.. (without using SQL) just few notes : 1. Use script commands available at doc/script_commands.txt such as *getguildmaster, *getcharid, *strcharinfo, *attachrid.. 2. You are using "$" as variable.. read in script_commands the functions of the variables.. you can just use "[email protected]" instead.. "[email protected]$" 3. Since I still didnt check Euphy's script, I assume it ran in a loop.. [email protected][[email protected]] -> already contains account ID of something? you can run it using *attachrid sample: attachrid [email protected][[email protected]]; // attaches the [email protected] getitem 501, 10; // gets the item.. detachrid; // detaches the rid As they say, there is still room for improvements.. I constantly learn from my mistakes and being pointed out is not a bad thing.. it means new thing you will learn which will improve your skills a lot.
  13. Yes, check this part: table : `char` columns : `head_top` , `head_mid` , `head_bottom` I don't think it is possible.. Never tried it tho
  14. Yeah, actually I did not give you off the full code, I want you to learn how to do it yourself. TIP: read about *getmapxy
  15. no problem! I know you knew how to do it yourself
  16. if you just copy and pasted it, of course it wont.. I said :
  17. untested but it should work.. if you want to learn more.. check doc/script_command.txt.
  18. how about let then use @storage command and for the buff, there is always item scrolls? If I am not mistaken, there are pets that can give player buffs.. im not sure but I think there was.. (never tried it). PS: There are lots of healer / buffer npcs here. you can look them up at the search bar.
  19. @wakefield21 Not for now here in rAthena... DM me here or in Discord if you want a copy of this.
  20. I assume you have basic script knowledge.. if (strcharinfo(0) == getguildmaster( getcharid(2) )) // checks if the player interacting the npc is a guild master... getitem 45000, 1; // if so... guild master reward is given here else getitem 45001, 1; // if not.. guild member reward is given here That is just a psudo-code, meaning you still have to configure it to make it work with euphy's script (which I obviously didn't check )
  21. True but if there is no active woe, it will still count... I don't see the point of making this script if you don't add the agitcheck() - script asdfg -1,{ OnPCKillEvent: setarray [email protected]$, "aldeg_cas01", "aldeg_cas02"; // maps if ( getcharid(3) == killerrid || !agitcheck() ) end; // auto end if player kills himself and also if woe is not active for ( [email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++) { if ( strcharinfo(3) == [email protected]$[[email protected]] ) { #WOE_POINTS++; dispbottom "Gained 1 WoE Points. Total : "+ #WOE_POINTS +" WoE Points."; } } end; }
  22. - script asdasdasd -1,{ OnNPCKillEvent: ++$mobkillcount; // mob kill counter if ( $mobkillcount > 20000 ) { // triggers when mob counter reaches 20k $mobkillcount = 0; // reset the counter to 0 [email protected] = 1001; // MOB ID of the monster setarray [email protected]$, // list the maps you wish to spawn the mobs "prontera", "prt_fild01", "prt_fild02"; // summons mob id to the maps listed for ( [email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]) { monster [email protected]$[[email protected]], 0, 0, "--ja--", [email protected], rand(10,20); // random of 10 - 20 mobs spawns } announce "World Bosses has invaded the server!", bc_all; // announce } end; } not tested but you should get the idea
  23. Obviously Easycore's Extended BG needs SRC Mod..
  24. --------------------------------------- *getinventorylist {<char_id>}; This command sets a bunch of arrays with a complete list of whatever the invoking character has in their inventory, including all the data needed to recreate these items perfectly if they are destroyed. Here's what you get: @inventorylist_bound[] - the bound type of the items (see BOUND_* constants) This could be handy to save/restore a character's inventory, since no other command returns such a complete set of data, and could also be the only way to correctly handle an NPC trader for carded and named items who could resell them - since NPC objects cannot own items, so they have to store item data in variables and recreate the items. Notice that the variables this command generates are all temporary, attached to the character, and integer. Be sure to use @inventorylist_count to go through these arrays, and not 'getarraysize', because the arrays are not automatically cleared between runs of 'getinventorylist'. ---------------------------------------
  25. Here rAthena has very sophisticated functions. please use them.
×
×
  • Create New...

Important Information

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