Jump to content

bearnope246

Members
  • Posts

    94
  • Joined

  • Last visited

Everything posted by bearnope246

  1. The post too long, forum doest let me post all. ACCNAME "_The_Spirit_of_Eostre", [ACCESSORY_IDs.ACCESSORY_Icarus_Wings] = "_Icarus_Wings", } ACCESS ACCESSORY_Icarus_Wings = 2055 } And itemdb i use sqpl. ialready put view id 2055. Other worked, this one doesn't And crash if relog sometime the error popup like this
  2. Can you how me the error? Sometime, it doest show up. But after relog, i cant event logon if the char still wear the Wing. Client stop responding and crash. any wing that move having the same problems. every other wing still normal. look at in your lua files ( ACCENAME and ACCESSORYID) check the view id. And please send the error Could you try add that wing and test for me? I think i got every thing correct, the item and bitmap image already showup. viewid in lub is correct too. I checked everything. Please test it your self for me help
  3. Can you how me the error? Sometime, it doest show up. But after relog, i cant event logon if the char still wear the Wing. Client stop responding and crash. any wing that move having the same problems. every other wing still normal.
  4. This is a Moving Wings from dreamer ro, Can anyone make it work? please help i Think its a CLient-side problems. icarus_wings.rar
  5. Thanks for you help, but your script doesn't work the waiting room not even showup i tried every ways i think i will leave this unsolved thanks
  6. switch (rand(1,6)) { Case 0: getitembound 13005,1,account_bound; break; Case 1: getitembound 13005,1,account_bound; break; Case 2: getitembound 13005,1,account_bound; break; Case 3: getitembound 13005,1,account_bound; break; Case 4: getitembound 13005,1,account_bound; break; Case 5: getitembound 13005,1,account_bound; break; Case 6: getitembound 13005,1,account_bound; break; The item is not bounded , i can still throw it out ( (the same item is for test purpose.) Sorry guys, solved by my self. The bound_typed must be number. And GM can still trade and throw it out. 1-Account 2-Guild 3-Party 4-character switch (rand(1,6)) { Case 0: getitembound 13005,1,1; break; Case 1: getitembound 13005,1,1; break; Case 2: getitembound 13005,1,1; break; Case 3: getitembound 13005,1,1; break; Case 4: getitembound 13005,1,1; break; Case 5: getitembound 13005,1,1; break; Case 6: getitembound 13005,1,1; break;
  7. Thanks for the reply but ofcourse the npc contain text, thats why i said that i cant talk to it ( here's the full script - script PVPLADDEROPTIONS -1,{ end; OnInit: // 0 = Disabled (NO) // 1 = Enable (YES) set [email protected], 0; //Enable/Disable language selection [English/German] (Default: 1) set [email protected], 0; //Enable/Disable the announcement when a char reaches a new position in the ladder (Default: 1) set [email protected], 30; //Set the length of the Ladder [!Not higher than 128!] (Default: 30) set [email protected], 10; //Set the views per page (Default: 10)set [email protected], 1; //Enable/Disable experience gain when reaching a new position in the ladder (*Note1) set [email protected], 50; //Set Experience gain value (*Note1) set [email protected], 1; //Enable/Disable zeny gain when reaching a new position in the ladder set [email protected], 50; //Set Zeny gain value set [email protected], 1; //Enable/Disable an Chat Room over the NPC with the message "PvP Ladder" (Users can not enter the Chat room) set [email protected], 0; //Enable/Disable that the NPC asks about the Broadcast when a Player logins / or with the Npc Chat (0 = Login Ask , 1 = Npc Chat) Related: 0 set [email protected], 100; //All GM LVL UNDER this value will show on the PvP Ladder (Over GM LVL: Not shown on Ladder | under GM LVL: Shown on Ladder) set [email protected], 99; //GM LVL that need for entering GM Menu } - script PVPLADDER -1,{ OnPCKillEvent: if ( getgmlevel() >= [email protected] ) end; if (terces_PVP_resets != $terces_PVP_resets) { dispbottom "Please relog your character, in order to get the correct kills for you in the PVP ladder."; dispbottom "Because a GM just reset the ladder."; end; } if ( killedrid == getcharid(3) ) { set PVPDeaths, PVPDeaths +1; set #PVPDeathsAccount, #PVPDeathsAccount +1; set @PVPDeathstoday, @PVPDeathstoday +1; end; } set [email protected],[email protected]+1; set getd("[email protected]"[email protected]),getcharid(3); //getd to avoid errors when more than 1 people kill someone attachrid(killedrid); set PVPDeaths,PVPDeaths+1; set @PVPDeathstoday,@PVPDeathstoday+1; set #PVPDeathsAccount,#PVPDeathsAccount+1; set getd("[email protected]"[email protected]+"$"), strcharinfo(0); //again, getd to avoid possible glitches detachrid; attachrid(getd("[email protected]"[email protected])); CountKills: set PVPKills,PVPKills+1; set @PVPKillstoday,@PVPKillstoday+1; set #PVPKillsAccount,#PVPKillsAccount+1; setarray @playerstats[0],@PVPKillstoday,@PVPDeathstoday,PVPKills,PVPDeaths,#PVPKillsAccount,#PVPDeathsAccount; l_ladder: set @considerdeath,0; for (set @PosinLadder, 0; @PosinLadder < [email protected]; set @PosinLadder, @PosinLadder + 1){ if (PVPKills >= $terces_PVP_kills[@PosinLadder]){ //Player deserves to be in the ladder //Check if Death plays a role on the position if ((PVPKills == $terces_PVP_kills[@PosinLadder]) && (PVPDeaths > $terces_PVP_deaths[@PosinLadder])) set @considerdeath,1; //Consider Deaths //Check if the player only topped his own scores if ($terces_PVP_names$[@PosinLadder] == strcharinfo(0)){ set $terces_PVP_kills[@PosinLadder],PVPKills; set $terces_PVP_deaths[@PosinLadder],PVPDeaths; end; } //Moves all characters in the Ladder for (set @beginmoving, [email protected]; @beginmoving >= (@[email protected]); set @beginmoving, @beginmoving - 1){ if ($terces_PVP_names$[@beginmoving] == strcharinfo(0)){ //If the player already is in the Ladder it only has to move players between characters new position and characters old position callsub L_LadderMove,0; end; } else if (@beginmoving == (@[email protected])){ //Player is not in the Ladder and therefor it has to move all players from characters new position downwards callsub L_LadderMove,1; end; } } end; } } end; L_LadderMove: if (getarg(0) == 0) set @length,@beginmoving; if (getarg(0) == 1) set @length,[email protected]; for (set @movecycle, @length; @movecycle > (@[email protected]); set @movecycle, @movecycle - 1){ set $terces_PVP_names$[@movecycle],$terces_PVP_names$[(@movecycle-1)]; set $terces_PVP_kills[@movecycle],$terces_PVP_kills[(@movecycle-1)]; set $terces_PVP_deaths[@movecycle],$terces_PVP_deaths[(@movecycle-1)]; set $terces_PVP_times[@movecycle],$terces_PVP_times[(@movecycle-1)]; } //sets the character's stats in the new position set $terces_PVP_names$[(@[email protected])],strcharinfo(0); set $terces_PVP_kills[(@[email protected])],PVPKills; set $terces_PVP_deaths[(@[email protected])],PVPDeaths; set $terces_PVP_times[(@[email protected])],gettimetick(2); //Experience Gain if ([email protected] == 1){ set BaseExp,BaseExp+(([email protected]((@[email protected])-1))*[email protected]); dispbottom "You have just been rewarded with "+(([email protected]((@[email protected])-1))*[email protected])+" base experience points"; } //Zeny Gain if ([email protected] == 1){ set Zeny,Zeny+(([email protected]((@[email protected])-1))*[email protected]); dispbottom "You have just been rewarded with "+(([email protected]((@[email protected])-1))*[email protected])+" Zeny"; } //Announcement (Setting for Char) if (pvpbroadcast == 2){ announce strcharinfo(0)+" just claimed the "+((@[email protected])+1)+". Position in the Top "[email protected]+" after killing "+getd("[email protected]"[email protected]+"$")+".",16; } //Announcement (Setting for Account) if (#pvpbroadcast == 2){ announce strcharinfo(0)+" just claimed the "+((@[email protected])+1)+". Position in the Top "[email protected]+" after killing "+getd("[email protected]"[email protected]+"$")+".",bc_all,0xf7646c; } end; OnPCLoginEvent: if (terces_PVP_resets != $terces_PVP_resets){ set PVPDeaths,0; set @PVPDeathstoday,0; set #PVPDeathsAccount,0; set PVPKills,0; set @PVPKillstoday,0; set #PVPKillsAccount,0; set terces_PVP_resets,$terces_PVP_resets; } if ([email protected] == 0){ if (pvpbroadcast == 0) set #pvpbroadcast,2; } } prontera.gat,148,193,5 script PvP Ladder 827,{ waitingroom "PvP Top "[email protected]+"",0; set @name$,"[PvP-Ladder]"; //Colour of: Position Name Kills Deaths Time setarray @colour$[0], "^996600", "^006699", "^00AA00", "^FF0000", "^EE8800"; if ([email protected] == 1){ if (#pvpbroadcast == 2) goto access_eng; if (pvpbroadcast == 2) goto access_eng; if (#pvpbroadcast == 1) goto access_eng; if (pvpbroadcast == 1) goto access_eng; if (pvpbroadcast == 0) mes "Hi, "+strcharinfo(0)+""; mes "Me is the PvP Top Management!"; mes "Let me ask you one Question and i will let you play!"; menu "Later please",L_close,"Okay, fine",L_fine; L_fine: next; mes "Well, do you want read Broadcast Messages when a Player reach a new position on the PvP Ranglist?"; menu "Yeah, why not",L_accept,"No, thanks",L_accept_2,"Wtf is Broadcast?",L_broadcast; L_accept: next; mes "Yay, thank you! ^_^"; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account,"Only this char",L_char; L_account: set #pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char: set pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_accept_2: next; mes "Yay, thank you! ^_^"; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account_2,"Only this char",L_char_2; L_close: close; L_account_2: set #pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char_2: set pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_broadcast: mes "Broadcasts are this yellow messages from the GMs"; goto L_fine; } access_eng: mes @name$; mes "Hello "+strcharinfo(0)+"..."; mes "If you want to I can show you your PVP stats."; next; M_selection_eng: if ( getgmlevel () < [email protected] ) menu "Show me the PVP Ladder",M_Ladder_eng,"PvP stats since my login",M_seitLogin_eng,"PvP stats of this Char",M_dieserChar_eng,"Stats of the whole account",M_vomAccount_eng,"Cancel",M_abbrechen_eng; else menu "[GM MENU]",GMMenu,"[USER MENU]",UserMenu; UserMenu: menu "Show me the PVP Ladder",M_Ladder_eng,"PvP stats since my login",M_seitLogin_eng,"PvP stats of this Char",M_dieserChar_eng,"Stats of the whole account",M_vomAccount_eng,"Cancel",M_abbrechen_eng; GMMenu: mes "PVP Ladder Script"; mes "Version: 1.7.3"; mes "Status of functions: "; mes "Reset Ladder: No Bugs"; mes "Delete Char on the ladder: BETA [Not working perfect]"; menu "Reset Ladder",L_reset,"Delete a Char on the Ladder",L_del_char,"Cancel",M_abbrechen_eng; M_Ladder_eng: mes "Alright...I'll show you the Top "+ [email protected] +" with "[email protected]+" entries per page."; mes "It'll be viewed like this:"; mes @colour$[0]+"Place^000000: "[email protected]$[1]+"<name>^000000 :"[email protected]$[2]+"<kills>^000000:"[email protected]$[3]+"<deaths>^000000 "[email protected]$[4]+"<time>"; next; callsub L_Ladder; goto M_selection_eng; M_seitLogin_eng: mes @name$; mes "Your stats since your login:"; mes @PVPKillstoday+"/"[email protected]+"(Kills/Deaths)"; next; goto M_selection_eng; M_dieserChar_eng: mes @name$; mes "Your stats of this Char:"; mes PVPKills+"/"+PVPDeaths+"(Kills/Deaths)"; next; goto M_selection_eng; M_vomAccount_eng: mes @name$; mes "Your stats of the whole account:"; mes #PVPKillsAccount+"/"+#PVPDeathsAccount+"(Kills/Deaths)"; next; goto M_selection_eng; M_abbrechen_eng: mes @name$; mes "OK. You can come back to me and see your stats whenever you want."; close; L_del_char: if (getgmlevel() < 99) end; mes "Do you want to delete a char on the Ladder?"; if (select ("Yes","No") == 2) goto L_end; next; mes "Please give me the Ladder Position of the Char"; input [email protected]; set [email protected], [email protected]; deletearray @PosinLadder, [email protected]; next; mes "THIS IS ONLY BETA"; mes "When this step has not worked PLEASE wait until the next Update for this script"; mes "Please don't request support when this step has not worked"; close; L_reset: if (getgmlevel() < 99) end; mes "Do you want to reset the ladder?"; if (select ("Yes","No") == 2) goto L_end; mes "Are you really really sure you want to reset it?"; menu "Yes, ffs!!",-,"No",L_end; deletearray $terces_PVP_kills,128; deletearray $terces_PVP_deaths,128; deletearray $terces_PVP_names$,128; deletearray $terces_PVP_times,128; set $terces_PVP_resets,$terces_PVP_resets +1; L_end: mes "Okay...cya"; close; L_Ladder: for (set @y,0; @y < [email protected]; set @y,@[email protected]){ for (set @x,@y; (@x < (@[email protected])) && (@x < ([email protected])); set @x,@x+1){ if ($terces_PVP_names$[@x] != ""){ mes @colour$[0]+(@x+1)+"^000000: "[email protected]$[1]+$terces_PVP_names$[@x]+"^000000 "[email protected]$[2]+$terces_PVP_kills[@x]+"^000000:"[email protected]$[3]+$terces_PVP_deaths[@x]+"^000000 ~ "[email protected]$[4]+callfunc ("Gettime",$terces_PVP_times[@x])+"^000000"; } else { mes "^DD0000"+(@x+1)+": ^006699None^000000 "; } } next; } return; } function script Gettime { if (getarg(0)==0) return; set @difftimedays,(gettimetick(2) - getarg(0)); set @difftimehours,@difftimedays%86400; set @difftimeminutes,@difftimehours%3600; set @difftimeseconds,@difftimeminutes%60; set @days,@difftimedays/86400; set @hours,@difftimehours/3600; set @minutes,@difftimeminutes/60; set @seconds,@difftimeseconds; set @result$,""; if(@days != 0) set @result$,@[email protected]+"d "; if(@hours != 0) set @result$,@[email protected]+"h "; if(@minutes != 0) set @result$,@[email protected]+"m "; if(@seconds != 0) set @result$,@[email protected]+"s"; return (@result$); } If i added the sleep and delwaiting room, the npc talk no more (
  8. @secrets i changed it and the room still dissapear , and cant talk to npc. @okuz The waiting room work, but the npc is non clickable, cant talk to npc, any clue? i realized every time i put in sleep 1000; delwaitingroom; i can't talk to npc
  9. Nope but simple enough to make it account bound. Please show me how ^^ thanks change out *getitem <item id>,<amount>{,<account ID>}; *getitem "<item name>",<amount>{,<account ID>}; This command will give an amount of specified items to the invoking character. If an optional account ID is specified, and the target character is currently online, items will be created in their inventory instead. If they are not online, nothing will happen. In the first and most commonly used version of this command, items are referred to by their database ID number found inside 'db/(pre-)re/item_db.txt'. getitem 502,10 // The person will receive 10 apples getitem 617,1 // The person will receive 1 Old Violet Box This transaction is logged if the log script generated transactions option is enabled. You may also create an item by its name in the 'english name' field in the item database: getitem "RED_POTION",10; Which will do what you'd expect. If it can't find that name in the database, apples will be created anyway. It is often a VERY GOOD IDEA to use it like this. This is used in pretty much all NPC scripts that have to do with items and quite a few item scripts. For more examples check just about any official script. for *getitembound <item id>,<amount>,<bound type>{,<account ID>}; *getitembound "<item name>",<amount>,<bound type>{,<account ID>}; This command behaves identically to 'getitem', but the items created will be bound to the target character as specified by the bound type. All items created in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in some cases cannot be traded or stored. Valid bound types are: Bound_Account : Account Bound item Bound_Guild : Guild Bound item Bound_Party : Party Bound item Bound_Char : Character Bound item you'r the best ^^
  10. Nope but simple enough to make it account bound. Please show me how ^^ thanks
  11. This is a pvpladder script, and this the waiting room part: prontera.gat,126,193,5 script PvP Ladder 57,{ if ([email protected] == 1) { waitingroom "PvP Top "[email protected]+"",0; } I changed it to this: prontera,155,188,5 script PvP Ladder 857,{ if ([email protected] == 1) { waitingroom "Top1 "+$terces_PVP_names$[@1]+"",0; } to show the top player on the waiting room, and it worked fine, except i have to click the npc for the chat room to showup, and i want the chat room to reset after an amount of time. so i changed it again: prontera,155,188,5 script PvP Ladder 857,{ onlnit: if ([email protected] == 1) { while(1) { waitingroom "Top1 "+$terces_PVP_names$[@1]+"",0; sleep 100; delwaitingroom; } } end; Now after i click the npc, the chat room showup for 1 sec, and disappear. And i can't talk to the npc. How to fix this?
  12. Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000. RE: Sorry but i want 2 color for 2 names in the announce, is it possible? Nope, it's not possible. You can only pick 1 color for announcements. RE: but it show up on the room title: ^0011FF<number>^000000. Ah! It won't work if it's in a chatroom (waiting room). It'll only work on NPC Messages. Thanks guys ^^ solved
  13. The patcher open with the notice.html And it got the .thor file name. so i think the main.ini and the config is correct right? but it failed to get the thor file, anyone?
  14. Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000. RE: Sorry but i want 2 color for 2 names in the announce, is it possible? Nope, it's not possible. You can only pick 1 color for announcements. RE: but it show up on the room title: ^0011FF<number>^000000. Ah! It won't work if it's in a chatroom (waiting room). It'll only work on NPC Messages. oh ok. thanks Back to number1. I change the code from mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map; to mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map;0xE71Ac9; and i got error. Parse_line: expect command, missing funtion name or calling undeclare funtion.
  15. Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000.
  16. i have 3 question. 1. How to use more color in an announce? This is a narrator script, i want to have the killer name and the death player have different color. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map; 2. This is a GMsupport script. I try to change the (online), (offline) color, but it only appear for awhile, and after relog its back to normal. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "(AFK/Away)"; } else { [email protected]$ = "(Online)"; } } else { [email protected]$ = "(Offline)"; } return [email protected]$; } } But if i change this part of the script mes get_GM_Title( [email protected]$[[email protected]],[email protected]_id[[email protected]] )+" -^0011FF "+get_GM_State([email protected][[email protected]],[email protected][[email protected]],[email protected]$[[email protected]] ); The color changed, but all the state are same color, i want it to be diferent color. 3.This is a pvp warper script. OnInit: while(1) { waitingroom "PvP Normal ["+getmapusers("guild_vs3")+"]",0; sleep 100; delwaitingroom; } This is the waiting room part, how can i change the color of the number only? "+getmapusers("guild_vs3")+"
×
×
  • Create New...

Important Information

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