Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/25/19 in all areas

  1. View File Fake Icon Stats This commands allow you to add fake icon stats. Right now the command does not clean the effect automatically after the time, cause who order this command want to be like this, so you can add sleep and remove the icon. Sample Script: prontera,150,150,5 Script FakeIcon 90,{ mes "[Fake Icon Stats]"; mes "Hey."; switch(select("Receive Fake Icon 1 with 5 seconds (display only)","Receive Icon 2 for 10 seconds (display only)","Disable Icon 1 and 2")) { case 1: fakeIcon(getcharid(0),1,5000,1); break; case 2: fakeIcon(getcharid(0),2,10000,1); break; case 3: fakeIcon(getcharid(0),1,0,0); fakeIcon(getcharid(0),2,0,0); break; } close; } Submitter Zell Submitted 09/17/2019 Category Source Modifications Video Content Author Zell  
    1 point
  2. - shop food_vendor -1,12043:20000,12058:20000,12053:20000,12063:20000,12068:20000 map,123,123,1 script Food Vendor 123,{ if(!vendor_unlocked){ mes "[ Food Vendor ]"; mes "Can you give me one " + getitemname(12128) +"?"; next; if(countitem(12128)){ if(select("Give the "+getitemname(12128)+":Cancel") == 2){ mes "[ Food Vendor ]"; mes "That's unfortunate."; close; } mes "[ Food Vendor ]"; mes "Thank you, now I can prepare my foods."; delitem 12128,1; vendor_unlocked = 1; end; } else { mes "[ Food Vendor ]"; mes "Please bring me a " + getitemname(12128) +"?"; end; } } mes "[ Food Vendor ]"; mes "How can I help you?"; next; callshop "food_vendor",1; end; }
    1 point
  3. Find the line in your job_exp and change it to 120 //Job - Ninja/Gunslinger 70,24:25,..... to 120,24:25,..... //Job - Star Gladiator 50,4047:4048,..... to 120,4047:4048,.....
    1 point
  4. @Takuyakii replace !map[sd->bl.m].flag.town with !mapdata->flag[MF_TOWN]
    1 point
  5. - script item_swap -1,{ for(.@i = 0; .@i < .size; .@i++){ .@menu$ += "List " + (.@i+1) + ":"; } mes "Select a list."; next; .@s = select(.@menu$) - 1; explode(.@item$,.item_list$[.@s],","); for(.@i = 0; .@i < getarraysize(.@item$); .@i++){ .@id = atoi(.@item$[.@i]); .@item[.@i] = .@id; if(countitem(.@id)){ .@temp[getarraysize(.@temp)] = .@id; .@data$ += getitemname(.@id) + ":"; } else { continue; } } mes "Select the item you want to swap."; next; .@s = select(.@data$) - 1; .@swap_id = .@temp[.@s]; .@index = inarray(.@item,.@swap_id); for(.@i = 0; .@i < getarraysize(.@item); .@i++){ if(.@i == .@index) continue; .@swap[getarraysize(.@swap)] = .@item[.@i]; .@swap$ += getitemname(.@item[.@i]) + ":"; } mes "select the item you want to swap into."; next; .@s = select(.@swap$) - 1; delitem .@swap_id,1; getitem .@swap[.@s],1; end; OnInit: setarray .item_list$,"501,502,503,504,505","506,507,508,509,510"; .size = getarraysize(.item_list$); end; } Haven't tested this but pretty sure it will work..
    1 point
  6. @makeegg <egg ID> Creates a Pet Egg based on the given ID. *makepet <pet id>; This command will create a pet egg and put it in the invoking character's inventory. The kind of pet is specified by pet ID numbers listed in 'db/(pre-)re/pet_db.yml'. The egg is created exactly as if the character just successfully caught a pet in the normal way. // This will make you a poring: makepet 1002; Notice that you absolutely have to create pet eggs with this command. If you try to give a pet egg with 'getitem', pet data will not be created by the char server and the egg will disappear when anyone tries to hatch it. read the doc
    1 point
  7. Uhm, Can i have a fully working script. Cant seem to make it work on mo_avail.txt
    1 point
  8. OllyDbg, but without general knowledge of assembler and the client code structure, the program will not do it alone, it's just a tool to get the job done. This is what the hex looks like in machine code:
    1 point
×
×
  • Create New...