Jump to content

Elicorna

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Elicorna

  1. On Euphy's script collection list it says that the version 1.3a has a reset option already, maybe you don't have the most recent version?
  2. Hi! If I'm not mistaken, you need to do getitembound2: *getitembound2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>{,<account ID>}; *getitembound2 "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>{,<account ID>}; This command behaves identically to 'getitem2', 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. identify - Whether you want the item to be identified (1) or not (0). refine - For how many pluses will it be refined. It will not let you refine an item higher than the max refine. attribute - Whether the item is broken (1) or not (0). card1,2,3,4 - If you want a card compound to it, place the card ID number into the specific card slot. so for example: (obvs without the spaces but it's to explain) getitembound2 atoi(.@item$[0]), atoi(.@item$[1]), 1, 10, 0 , , , , ,Bound_Account; gets the item ID amount identified refine attribute cards bound even if you put no cards you need to put the commas because otherwise it won't read the script properly ~
  3. Hi everyone, I'd like to set a specific zone where people can't throw junk on the ground, without setting the whole map with the noloot mapflag. There is, however, no setcell for noloot, I have to create one, but I don't know how, and can't really find anything clear on the forums that could help me, apart from the fact that I need to modify the src files. Could anyone maybe give me a step-by-step on what to modify and where? Many thanks in advance! Eli
  4. Hello, I have an event script that spawns a random MVP from an array, the problem is that some of the MVPs spawn just fine (beelzebub, Naght Sieger), and others don't spawn and throw this error in the logs: [Warning]: buildin_monster: Attempted to spawn non-existing monster class 110037660 (the monster class number changes depending on the monster - this particular one is Naght Sieger). I can't figure out why it's coming up with this error, I've checked my mob_db as well as done @mi IG to check and all the IDs in the script are correct. As an example, from the various tests I've done (I launched the event multiple times in a row to see if I could find a pattern), FBH and Beelzebub spawn without issue, however GDB, Naght Sieger, Gioia and Valkyrie create an error. This is the part of the script that concerns the monster summon: OnInit: setarray $@mobid[1],"1734","1708","1751","1956","1917","1929","1957","1874","3450","2319","2253","1871","2251","1768","3073","1832","2255","2022","2249","3074","3254"; setarray $@mobname$[1],"Kiel D-01","Thanatos Phantom","Valkyrie Randgris","Naght Sieger","Wounded Morroc","Great Demon Baphomet","Entweihen Crothen","Beelzebub","Bijou","Buwaya","Daehyon","Fallen Bishop","Gioia","Gloom Under Night","Awakened Ferre","Ifrit","Kades","Nidhoggur's Shadow","Pyuriel","Timeholder","T W O"; set $@alreadyappear,0; end; OnTouch: donpcevent "UnknwnLght::OnCountS"; if ($@alreadyappear == 1) goto L_Nothing; if ($@UknwLG >= 0 && $@UknwLG <=5) { setarray $@mobname$[1],"Kiel D-01","Thanatos Phantom","Valkyrie Randgris","Naght Sieger","Wounded Morroc","Great Demon Baphomet","Entweihen Crothen","Beelzebub","Bijou","Buwaya","Daehyon","Fallen Bishop","Gioia","Gloom Under Night","Awakened Ferre","Ifrit","Kades","Nidhoggur's Shadow","Pyuriel","Timeholder","T W O"; mes "^3355FFVous remarquez que cette lumière dégage une extrême puissance.^000000"; next; mes "^3355FFVous ne savez comment, mais elle vous force à visualiser un monstre dans votre esprit...^000000"; next; set $@MobU,select("Kiel D-01:Thanatos Phantom:Valkyrie Rangdris:Naght Sieger:Wounded Morroc:Great Demon Baphomet:Entweihen Crothen:Beelzebub:Bijou:Buwaya:Daehyon:Fallen Bishop:Gioia:Gloom Under Night:Awakened Ferre:Ifrit:Kades:Nidhoggur's Shadow:Pyuriel:Timeholder:T W O"); mes "^3355FFVous avez choisi ^FF0000"+$@mobname$[$@MobU]+"^3355FF...^000000"; } else { mes "^3355FFVous remarquez que cette lumière dégage une extrème puissance.^000000"; set $@MobR,rand(1,56); if ($@MobR >= 1 && $@MobR <= 4) set $@MobU,1; if ($@MobR == 5 || $@MobR == 6) set $@MobU,2; if ($@MobR >= 7 && $@MobR <= 10) set $@MobU,3; if ($@MobR == 11 || $@MobR == 12) set $@MobU,4; if ($@MobR == 13 || $@MobR == 14) set $@MobU,5; if ($@MobR == 15 || $@MobR == 16) set $@MobU,6; if ($@MobR == 17 || $@MobR == 18) set $@MobU,7; if ($@MobR >= 19 && $@MobR <= 22) set $@MobU,8; if ($@MobR == 23 || $@MobR == 24) set $@MobU,9; if ($@MobR == 25 || $@MobR == 26) set $@MobU,10; if ($@MobR == 27 || $@MobR == 28) set $@MobU,11; if ($@MobR >= 29 && $@MobR <= 32) set $@MobU,12; if ($@MobR == 33 || $@MobR == 34) set $@MobU,13; if ($@MobR >= 35 && $@MobR <= 38) set $@MobU,14; if ($@MobR == 39 || $@MobR == 40) set $@MobU,15; if ($@MobR >= 41 && $@MobR <= 44) set $@MobU,16; if ($@MobR == 45 || $@MobR == 46) set $@MobU,17; if ($@MobR == 47 || $@MobR == 48) set $@MobU,18; if ($@MobR == 49 || $@MobR == 50) set $@MobU,19; if ($@MobR >= 51 && $@MobR <= 54) set $@MobU,20; if ($@MobR == 55 || $@MobR == 56) set $@MobU,21; } close2; monster "valkyrie",48,36,$@mobname$[$@MobU],$@mobid[$@MobU],1,"MobUnknw::OnDead"; mapannounce "valkyrie","Le monstre invoqué est "+$@mobname$[$@MobU]+" !",bc_map,"0x70DBDB"; set $@alreadyappear,1; initnpctimer; Thanks in advance for any help.
×
×
  • Create New...