Jump to content

Gidz Cross

Members
  • Posts

    647
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Gidz Cross

  1. I think it requires higher client. Try 2019. Theres new animation regarding hellsplant in the latest git.
  2. to reproduce the debug you need to simple put the script into the scripts_custom.conf then @reloadscript.
  3. What is @pk command? ~ its like a @battleignore but only for Players. Refer to this Anyway i have that src into my trunk. It works alright. But there are limitation to it. My server setup is PK type. Even tho its PK type im opting to have the @pk command for the newbies. Anyways. What i was trying to accomplish is to have some function/checker to set/force the pk state into 1(if they @pk off) when they got into selected maps. Selected maps? ~ Yes. Selected maps. Like PVP Room for example. Imagine player set his pk state to off and warp to pvp room. Players wont be able to attack that guy. To put it simply. When players warped to selected maps their pk state should be force to on or normal state. Can someone help me make a checker for @pk command? Or make some script to the the pk state into 1. Thanks! my discord question snapchat from rA's discord.
  4. I merge my own NPC + Annies MVP Room to create 2 in 1 NPC that offers PUBLIC and PRIVATE ROOMS. Was able to merge them but im getting debug error. I can't seem to fix it. Can anybody help? Here's the script. prontera,165,168,3 script Branch Manager 494,{ set @npcname$, "[^FF8800 Branch Manager ^000000]"; mes @npcname$; mes "Hello Adventurer. I'm the Branch Manager. I can offer you Public and Private Room to use your Branches."; mes " "; mes "Choose your Option."; next; menu "Public Branch Room",PUBLIC,"Private Branch Room",PRIVATE; PUBLIC: mes @npcname$; mes "Public Room is it? Alright. Remember that these rooms are PK and not KS free."; next; menu "Public DB Room 1 ["+getmapusers("new_1-3")+"]",PDBROOM1, "Public DB Room 2 ["+getmapusers("new_2-3")+"]",PDBROOM2, "Public DB Room 3 ["+getmapusers("new_3-3")+"]",PDBROOM3, "Public DB Room 4 ["+getmapusers("new_4-3")+"]",PDBROOM4, "Public DB Room 5 ["+getmapusers("new_5-3")+"]",PDBROOM5; PDBROOM1: warp "new_1-3",117,67; end; PDBROOM2: warp "new_2-3",117,67; end; PDBROOM3: warp "new_3-3",117,67; end; PDBROOM4: warp "new_4-3",117,67; end; PDBROOM5: warp "new_5-3",117,67; end; PRIVATE: mes "[Private MVP Room]"; mes "Please select a private MVP room."; if ( getvariableofnpc( .rentcost, "Branch Keeper" ) ) mes "The cost to rent a room for "+ getvariableofnpc( .timeout, "Branch Keeper" ) +" minutes is "+ callfunc("F_InsertComma", getvariableofnpc( .rentcost, "Branch Keeper" ) ) +" zeny."; else mes "You can only use the room for only "+ getvariableofnpc( .timeout, "Branch Keeper" ) +" minutes."; mes " "; for ( .@i = 1; .@i <= 8; .@i++ ) if ( getvariableofnpc( .renttime[.@i], "Branch Keeper" ) ) mes "Room #"+ .@i +" = "+ .color$[ .type[.@i] ] + .whoinuse$[.@i] +"^000000"; next; .@room = select( "MVP Room 1 ["+ getmapusers("06guild_01") +"]", "MVP Room 2 ["+ getmapusers("06guild_02") +"]", "MVP Room 3 ["+ getmapusers("06guild_03") +"]", "MVP Room 4 ["+ getmapusers("06guild_04") +"]", "MVP Room 5 ["+ getmapusers("06guild_05") +"]", "MVP Room 6 ["+ getmapusers("06guild_06") +"]", "MVP Room 7 ["+ getmapusers("06guild_07") +"]", "MVP Room 8 ["+ getmapusers("06guild_08") +"]"); if ( getvariableofnpc( .renttime[.@room], "Branch Keeper" ) ) { if ( .inuseid[.@room] == getcharid( .type[.@room] ) ) { warp "06guild_0"+ .@room, 0,0; close; } else { mes "[Private MVP Room]"; mes "This room is reserved for "; mes .color$[ .type[.@room] ] + .whoinuse$[.@room] +"^000000."; mes "Please select another."; close; } } mes "[Private MVP Room]"; mes "Reserve this room for..."; next; set .@type, select( "For my party members", "For my guild members", "For personal account use" ); if ( !getcharid(.@type) ) { mes "[Private MVP Room]"; mes "You do not own a "+( ( .@type == 1 )? "Party" : "Guild" )+"."; close; } else if ( Zeny < getvariableofnpc( .rentcost, "Branch Keeper" ) ) { mes "You don't have enough zeny to rent a room."; close; } else if ( getvariableofnpc( .renttime[.@room], "Branch Keeper" ) ) { mes "[Private MVP Room]"; mes "I'm sorry, somebody else has already registered this room faster than you."; close; } for ( .@i = 1; .@i <= 8; .@i++ ) { if ( ( getvariableofnpc( .renttime[.@i], "Branch Keeper" ) ) && .@type == .type[.@i] && getcharid(.@type) == .inuseid[.@i] ) { mes "[Private MVP Room]"; mes "You already rented Room#"+ .@i +". Use that room instead."; close; } } set .type[.@room], .@type; set .inuseid[.@room], getcharid(.@type); set .whoinuse$[.@room], strcharinfo( ( .@type == 3 )? 0 : .@type ); Zeny -= getvariableofnpc( .rentcost, "Branch Keeper" ); warp "06guild_0"+ .@room, 0,0; killmonsterall "06guild_0"+ .@room; donpcevent "Branch Keeper#"+ .@room +"::OnEnterMap"; close; OnInit: .color$[1] = "^EE8800"; // party color .color$[2] = "^70CC11"; // guild color .color$[3] = "^0000FF"; // account color end; } - script Branch Keeper -1,{ mes "[Branch Keeper]"; mes "Time left: " + callfunc( "Time2Str", .renttime[ atoi( strnpcinfo(2) ) ] + .timeout * 60 ); mes "Hi, what can I do for you?"; next; switch ( select(.menu$) ) { case 1: mes "[Branch Keeper]"; if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "I cannot offer heal service when there are monsters around."; close; } sc_end SC_STONE; sc_end SC_SLOWDOWN; sc_end SC_FREEZE; sc_end SC_SLEEP; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLEEDING; sc_end SC_DECREASEAGI; sc_end SC_POISON; sc_end SC_HALLUCINATION; sc_end SC_STRIPWEAPON; sc_end SC_STRIPARMOR; sc_end SC_STRIPHELM; sc_end SC_STRIPSHIELD; sc_end SC_CHANGEUNDEAD; sc_end SC_ORCISH; sc_end SC_BERSERK; sc_end SC_SKE; sc_end SC_SWOO; sc_end SC_SKA; percentheal 100,100; specialeffect2 EF_HEAL; mes "You are completely healed."; close; case 2: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "[Branch Keeper]"; mes "I cannot summon another MVP when there are monsters around."; close; } else if ( .mvpcost ) { mes "[Branch Keeper]"; mes "The cost to summon an MVP is "+ callfunc( "F_InsertComma", .mvpcost ) +" zeny."; next; set .@menu, select(.mvpid_menu$) -1; mes "[Branch Keeper]"; if ( Zeny < .mvpcost ) { mes "You don't have enough zeny to summon an MVP."; close; } } else { set .@menu, select(.mvpid_menu$) -1; mes "[Branch Keeper]"; } mes "Please get ready."; close2; if ( Zeny < .mvpcost ) end; Zeny -= .mvpcost; monster "this", 0, 0, "--ja--", .mvpid[.@menu], 1, strnpcinfo(3)+"::OnMobDead"; end; case 3: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "[Branch Keeper]"; mes "I cannot summon another mini-boss when there are monsters around."; close; } else if ( .bosscost ) { mes "[Branch Keeper]"; mes "The cost to summon a mini-boss is "+ callfunc( "F_InsertComma", .bosscost ) +" zeny."; next; set .@menu, select(.bossid_menu$) -1; mes "[Branch Keeper]"; if ( Zeny < .bosscost ) { mes "You doesn't have enough zeny to summon a mini-boss."; close; } } else { set .@menu, select(.bossid_menu$) -1; mes "[Branch Keeper]"; } mes "Please get ready."; close2; if ( Zeny < .bosscost ) end; Zeny -= .bosscost; monster "this", 0, 0, "--ja--", .bossid[.@menu], 1, strnpcinfo(3)+"::OnMobDead"; end; case 4: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) > 0 ) { mes "[Branch Keeper]"; mes "I cannot offer this service when there are monsters around."; close; } close2; callshop "MVP room#branch", 1; end; case 5: mes "[Branch Keeper]"; mes "Are you sure you want to leave this room?"; next; if ( select( "Yes:No") == 1 ) warp .respawnmap$, .respawnx, .respawny; close; case 6: mes "[Branch Keeper]"; if ( getmapusers( strcharinfo(3) ) > 1 ) { mes "There are still some players in this room. Make sure you are the last member in this room to use this option."; close; } mes "Are you sure you want to give up this room?"; if ( .rentcost ) mes "You will need to pay again to enter this room."; next; if ( select( "Yes", "No" ) == 2 ) close; awake strnpcinfo(0); end; } close; OnMobDead: end; OnEnterMap: .@id = atoi( strnpcinfo(2) ); .renttime[.@id] = gettimetick(2); sleep .timeout * 60000; mapwarp strnpcinfo(4), .respawnmap$, .respawnx, .respawny; .renttime[.@id] = 0; killmonsterall strnpcinfo(4); end; OnInit: if ( !getstrlen( strnpcinfo(2) ) ) { // Config --------------------------------------------------------------------------------------- // Room rental time, in minutes. // When time runs out, all players inside the room will be kicked out. // Do NOT set this to zero! set .timeout, 60; set .rentcost, 10000000; // Zeny cost for renting a room (0 = free) set .mvpcost, 100000; // Zeny cost to summon an MVP (0 = free) set .bosscost, 50000; // Zeny cost to summon a boss monster (0 = free) // Options setting inside MVP room set .@menu[1], 1; // Turn Heal option On/Off set .@menu[2], 0; // Turn MVP Summoning On/Off set .@menu[3], 0; // Turn Mini boss Summoning On/Off set .@menu[4], 1; // Sell items (branches) On/Off (see shop below, before the mapflags) // Respawn point when players leave the room set .respawnmap$, "prontera"; set .respawnx, 150; set .respawny, 174; setarray .mvpid[0], 1511,// Amon Ra 1647,// Assassin Cross Eremes 1785,// Atroce 1630,// Bacsojin 1039,// Baphomet 1874,// Beelzebub 1272,// Dark Lord 1719,// Datale 1046,// Doppelgangger 1389,// Dracula 1112,// Drake 1115,// Eddga 1418,// Evil Snake Lord 1871,// Fallen Bishop 1252,// Garm 1768,// Gloom Under Night 1086,// Golden Thief Bug 1885,// Gopinich 1649,// High Priest Magaleta 1651,// High Wizard Katrinn 1832,// Ifrit 1492,// Incantation Samurai 1734,// Kiel D-01 1251,// Knight of Windstorm 1779,// Ktullanux 1688,// Lady Tanee 1646,// Lord Knight Seyren 1373,// Lord of Death 1147,// Maya 1059,// Mistress 1150,// Moonlight Flower 1087,// Orc Hero 1190,// Orc Lord 1038,// Osiris 1157,// Pharaoh 1159,// Phreeoni 1623,// RSX 0806 1650,// Sniper Shecil 1583,// Tao Gunka 1708,// Thanatos 1312,// Turtle General 1751,// Valkyrie Randgris 1685,// Vesper 1648,// Whitesmith Harword 1917,// Wounded Morocc 1658;// Ygnizem setarray .bossid[0], 1096,// Angeling 1388,// Archangeling 1795,// Bloody Knight 1830,// Bow Guardian 1839,// Byorgue 1309,// Cat O' Nine Tail 1283,// Chimera 1302,// Dark Illusion 1198,// Dark Priest 1582,// Deviling 1091,// Dragon Fly 1093,// Eclipse 1205,// Executioner 1783,// Galion 1592,// Gangster 1120,// Ghostring 1259,// Gryphon 1720,// Hydro 1090,// Mastering 1289,// Maya Purple 1262,// Mutant Dragon 1203,// Mysteltainn 1870,// Necromancer 1295,// Owl Baron 1829,// Sword Guardian 1204,// Tirfing 1089,// Toad 1092,// Vagabond Wolf 1765;// Valkyrie // Config Ends ------------------------------------------------------------------------ if ( !.timeout ) set .timeout, 60; .menu$ = ( .@menu[1] ? "Heal" : "" ) +":" ; .menu$ = .menu$ + ( .@menu[2] ? "Summon MVP" : "" ) +":"; .menu$ = .menu$ + ( .@menu[3] ? "Summon Mini-boss" : "" ) +":"; .menu$ = .menu$ + ( .@menu[4] ? "Buy branches" : "" ) +":"; .menu$ = .menu$ + "Leave this room:Give up this room"; if ( .@menu[2] ) { .@size = getarraysize( .mvpid ); for ( .@i = 0; .@i < .@size; .@i++ ) .mvpid_menu$ = .mvpid_menu$ + getmonsterinfo( .mvpid[.@i], MOB_NAME ) +":"; } if ( .@menu[3] ) { .@size = getarraysize( .bossid ); for ( .@i = 0; .@i < .@size; .@i++ ) .bossid_menu$ = .bossid_menu$ + getmonsterinfo( .bossid[.@i], MOB_NAME ) +":"; } } else { mapannounce strnpcinfo(4), "An administrator has refreshed the server. Please re-register this room.", bc_map; mapwarp strnpcinfo(4), .respawnmap$, .respawnx, .respawny; } end; } - shop MVP room#branch -1,604:100000,12103:1000000 06guild_01,49,49,4 duplicate(Branch Keeper) Branch Keeper#1 116 06guild_02,49,49,4 duplicate(Branch Keeper) Branch Keeper#2 116 06guild_03,49,49,4 duplicate(Branch Keeper) Branch Keeper#3 116 06guild_04,49,49,4 duplicate(Branch Keeper) Branch Keeper#4 116 06guild_05,49,49,4 duplicate(Branch Keeper) Branch Keeper#5 116 06guild_06,49,49,4 duplicate(Branch Keeper) Branch Keeper#6 116 06guild_07,49,49,4 duplicate(Branch Keeper) Branch Keeper#7 116 06guild_08,49,49,4 duplicate(Branch Keeper) Branch Keeper#8 116 And im getting these debug messages. So far, the script works alright. Im just bothered by these debug messages. Thanks!
  5. In your \npc\custom\jobmaster.txt you can get idea how to get (a gun and a jacket) . 3rd job classes is already implemented there. Im not sure about the 4th job tho.
  6. Try this for your Biolab. prontera,154,177,6 script Custom Warper 909,{ if (MISC_QUEST&512) { mes "[Custom Warper]"; mes "It seems you are done with Biolab Quest. Would you like to go there?"; next; if (select("Enter:Cancel") == 1) { warp "lhz_cube",231,17; end; } close; } mes "[Custom Warper]"; mes "Take the Biolab Quest first before i warp you there."; close; } However im not sure regarding Thanatos. Every floor has quest. My suggestion is allow warp up to tha_t03 to bypass party. From there they can take each quest on each floor. As for treasure. I dont know what is that.
  7. Related to this topic. It's the partner of that model. Anybody have the texture for it? Thanks! texture/r_ge/a_ge_30a.bmp Solved. a_ge_30a.bmp
  8. Great. I do happen to need this file. Now im looking for the bmp file that comes with the r_ge/a_ge_38a.rsm. Can you share yours? It's name is a_ge_30a.bmp Thanks!
  9. Yep i did. As you can see the jar file have java icon. But still i cant make it to work. This is what happens MaBe8SGvtP.mp4
  10. Good job making this! But i cant seem to open it. Double clicking nothing happens. Tried running as admin.
  11. This happens to me. But it has nothing to do with my skilldb. GD_EMERGENCYCALL default behavior is ignoring dex. Check your skill db.
  12. My advice to you is to start again from scratch since you said A lot has changed. Re visit tutorials. https://github.com/rathena/rathena/wiki/Install-on-Windows Anyways. best of luck!
  13. Client Date: 2018 Trunk Age: Between April ~ June 2020 (manually updated and some PR) How can i disable the warping/respawning effect to my fake players? Please watch this video. The latest git files doesnt have this spawning effect. Thanks! also if you could noticed. When they about to reach their map coordinate they somehow behave differently. Its like they are sliding (like skipping frames) in 2015 client this is flawless. *Edit https://github.com/rathena/rathena/commit/6fe0ed5819b34d713b4a948362f1af26476e3178 here's the commit regarding that. w5TjUgRE9m.mp4
  14. Lets be patient guys. We cannot do anything have faith in the devs. you see im still waiting as much as you guys. ?
  15. *Additional Info. I used my client to connect to my rathena trunk using hercules client. And it works. So the problem lies with specific client? 2018-06-21a? im using 2018-06-20eRagexeRE now and no problem. *Edit again. Turns out that this is really a bug. https://gitlab.com/4144/Nemo/-/issues/159 Please close this thread. Thanks!
  16. Hello folks. For some reason my SLASHING effect to weapons are not appearing. I never noticed it since i install a custom weapons. Don't get me wrong im not talking about custom weapon here. Anwyays, since i installed a custom weapon. I notice that there is this extra file with °Ë±¤. Then i presume that its the slashing effect. So i was right. But for some reason. My client its not showing it. Thats the big mystery. Again. Im not talking about CUSTOM WEAPONS. I'm talking about normal weapons with Slashing effect such as KNIFE and/or SWORD. So lets talk about SWORD. 1101,Sword,Sword,5,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{},{},{} Here's my iteminfo heres my weapontable.lub but why i cant see the slashing EFFECT! Ive track the default files. It's on DATA.GRF. My kRO is from Akkarin. I always update that. The steps ive done: Remade my whole Translation data from chris translation Used different kinds of iteminfos Re diff my client? (Not sure but i fired up nemo and use chris's recomendations) Switched between 2015 and 2018 client. (Same Result) Im really lost. Is server side have to do with this? I have fresh Hercules Trunk and it works. My rathena doesnt. Hmmmmmmmmmmmm!
  17. Thank you so much @Tokei Additional info. This is the check status on that server. I think i can live without the check status.
  18. Wow! Its somehow close to what im looking for. Good job! Ive tested the script. It works alright. I could care less to check status as long as the auto broadcast works. I wanna keep it simple as much as possible. I have an idea. Ofcourse i cannot execute it alone. Hehehe! You know how to get the delay of single broadcast? Broadcast = gettimetick(2) + 60; //Timer 60 = 1 minute/s can we somehow put it to auto broadcast like you are trying to auto broadcast for 5 times you will be charged 3 x 5 = 15m automatically right? How about that getiitemtick should add as well depends on the input times. So lets say you opt to have it auto broadcast for 5 times. you will get 15 minutes delay. Is it possible? Thanks @Tokei Wow! An advance classic broadcaster where GM can track which announcement are being queued. Thank you ~cute~cute~scripter~ ? wishful thinking. HAHAHAHA!
  19. Well first of all. Your mapflags are wrong. You can just mapflag nowarpto and nowarp to any specific map. Can you post your mapflags?
  20. Please read the script first. https://github.com/Stolao/Npc_Release/blob/f20a0d61899156c7d776dae419eff2cfadec6d07/Daily_Reward/DailyReward_v2.txt#L320
×
×
  • Create New...