Jump to content

crazyarashi

Developer
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by crazyarashi

  1. if you undefine the pre-re it should be running on pre-renewal now :))
  2. You should recache the old izlude map using weemapcache to your map_cache.dat
  3. the first id in login of the SQL should be the same as the userid and passwd in char_athena.conf and map_athena.conf :))
  4. case WS_CARTTERMINATION: i = 10 * (16 - skill_lv); if (i < 1) i = 1; //Preserve damage ratio when max cart weight is changed. if (sd && sd->cart_weight) skillratio += sd->cart_weight / i * 80000 / battle_config.max_cart_weight - 100; else if (!sd) skillratio += 80000 / i - 100; break; Find this line in battle.c :))
  5. You should make your own grf for editing lua/lub files you can use this translation files as a base for your grf Translation Files By Zackdreaver
  6. You need to download the alternate sprites for 3rd job and add them in to your GRF :))
  7. prontera,255,55,5 script Freebies NPC 655,{ query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); mes "[Freebies NPC]"; mes "Welcome to Server Name!!"; next; if ( getd("$" + .@lip$ + "_NA") > 0 || #NewbieGift > 0) { mes "[Freebies NPC]"; mes "Your IP have already recieved a freebies."; close; } mes "Here are your freebies!:"; getitem 501,1000; //item id and amount getitem 502,1000; set #NewbieGift, 1; setd "$" + .@lip$ + "_NA", getd("$" + .@lip$ + "_NA") + 1; end; }
  8. //Simple HG Hiding by crazyarashi - script Invisible -1,{ OnAtCommand: .@npc$ = "["+ strnpcinfo(1) +"]"; mes .@npc$; mes "Hello, "+strcharinfo(0); mes "Which headgear do you want to hide?"; next; setarray .@hgmenu$, "Top Headgear", "Middle Headgear", "Lower Headgear"; .@menu$ = implode(.@hgmenu$, ":"); .@i = select( .@menu$ ) - 1; .@equip = getequipid(.location$[.@i]); if( .@equip != getequipid(.location$[.@i])) { mes .@npc$; mes "You're not wearing any headgear"; close; } else { atcommand "@"+ .looks$[.@i]; dispbottom .@hgmenu$[.@i] +" is now hidden"; end; } OnInit: setarray .location$, "EQI_HEAD_TOP", "EQI_HEAD_MID", "EQI_HEAD_LOW"; setarray .looks$, "changelook 1 0", "changelook 2 0", "changelook 3 0"; bindatcmd "hidehg",strnpcinfo(0)+"::OnAtCommand"; } Try this i added a menu of what you want to headgear you want to hide and added a bindcommand (change the command if you want) haven't tested it though :)) probably upon logout the item will show again.
  9. Should the item options be random or you have a specific random option in mind? :))
  10. // Add in item item_db import // 35000,Prize_Of_Hero,Prize of Hero,2,10,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ callfunc "prizeofhero"; },{},{} //Add in Custom NPC Folder and reload // Prize Of Hero Contents function script prizeofhero { setarray .Items[0],15093,15094,15095,15096,15097,15098,22035,22036,22037; //Add item ID here for additional random items for the box set .random, rand( getarraysize( .Items ) ); getitem .Items[ .random ], 1; end; } This is a simple one :))
  11. did you diff your client to read the translated lua files? :))
  12. - script ItemCheck -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$!="prt_fild01") end; if(strcharinfo(3) == .@map$){ if(countitem(.item)){ mes "You have "+getitemname(.item)+" in your inventory."; next; mes "This is not allowed in this map"; warp "prontera",255,55; } else { addtimer(1000 * .time), ("ItemCheck")+"::OnPCLoadMapEvent"; } } OnInit: .item = 12345; .time = 3; end; } prt_fild01 mapflag loadevent
  13. - script ItemCheck -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$!="prt_fild01") end; if(countitem(501) > 0){ //501 change to your item number warp "prontera",156,191; //warp to map when you have the item end; } } prt_fild01 mapflag loadevent
  14. you need to download the translation files for the client :)) Zackdreaver ROEnglishRE and make it as a grf
  15. Are you using zackdreavers translated client? :))
  16. A Simple SQL Query Will Do for deleting an account that hasnt been log in yet DELETE FROM `login` WHERE `logincount` = 0;
  17. Thanks I missed the restore cash shop icon in nemo :)) and for the hotkeys it's editable in-game so yes thanks again :))
  18. I have test all 2017 clients available and i noticed that the cash shop icon and added a hotkey command to open it is gone or it was changed like that :))
  19. It's Better to ask the creator itself about this :))
  20. if (gh_instance == 1) { // Already Did OGH Before getitem 6607,1; //Temporal_Crystal getitem 6608,1; //Coagulated_Spell } else { // Haven't Done OGH Before getitem 6607,5; //Temporal_Crystal getitem 6608,5; //Coagulated_Spell set gh_instance,1; // Adds Value to gh_instance making it = 1 }
  21. If youre looking for the prontera 4 seasons its available in the downloads Prontera 4 Season
  22. Have you granted your account access your mysql account access to your database? Im also using vultr but debian 17.04 i have no problem in it :)) mysql> GRANT ALL ON siann.* TO lopaka@localhost IDENTIFIED BY "password";
×
×
  • Create New...