Jump to content

badneko

Members
  • Posts

    37
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by badneko

  1. im done i can make this work. Someone Die, then drop some item, but first check if the item can be droped. And im still missing something here. OnPCDieEvent: getmapxy(@m$,@x,@y,0); set .@x,@x +rand(-3,3); set .@y,@y +rand(-3,3); while (!checkcell(@m$,.@x,.@y,cell_chkpass)); makeitem 7793,1,@m$,.@x,.@y; end;
  2. yo guys ! im looking for unused maps to edit by my own. i got now ... new_2-1,2-2,2-3 ... new_3-1,2-2,2-3 ... new_4-1,2-2,2-3 ... new_5-1,2-2,2-3 ... anyone wanna share ?
  3. I mean just the last stats point given. I level up to level 3, i give all my points (3 points) to vit. I only want to back those 3 points :T
  4. im trying to do a npc how can reset 1 level backward. like atcommand @blevel -1. But instead reset all point, just back to one level. Any ideas ? its possible ?
  5. @Antares Roockie Bro Fist ! Thanks dude, but i still doubting about .@
  6. Its said variable consume ram. But exactly wich ram? every step in the game, or just the first loading of the server (char,map,login) Npc variables are dangerius in big numbers?, how many exactly ? 100-200-300-1000 ? And even temporary variables are problematic ? (.@) After create a temporary npc vartiable .@, this variable return to 0 , or disappear ? Im trying to avoid the consume of ram in Npc variables, .@ variables are the best options ? --------------------- Second question ! for example if i have .@Apples. Delete this script, in the next boot this .@apples still exist ? Exist as .@apple = 0 or just erased from all existence ?
  7. i got this script : setarray (.mobid[0],1022,1831,1002); //Monster ID setarray (.mobname$[0],"Megaporing","Mob1","Mob2"); //Monster Name setarray (.moba[0],60,120,85); //Monster Anzahl then i create this mobs : monster(.Ci$[0],0,0,.mobname$[0],.mobid[0],.crys[0],"MSE2::OnMyMobDead"); the megaporing apear. now there is the problem in getitem OnNPCKillEvent: if(killedrid == .mobid[0]) getitem 7546,3; end; The player dont get the item. If i set, 1002 as id, nothing, but if i kill normal Porings, the item appear. I dont get it. Please help me guys u_u After a long testing. This works only with OnMyMobDead: . now i want the item drops in the killer position. with this : if( strcharinfo(3) == .Ci$[0] && killedrid == .@mobid[0] ){ // map ID & If a Poring (1002) was killed on "MAP" getmapxy(@m$,@x,@y,0); // Get map and coords from invoking player makeitem 501,1,@m$,@x+rand(0,1),@y+rand(0,1); // Drop item at your feet, randomly between 3-5 cells away } works, but only with 3-4 mobs, Then, the item stop and never apears again. Dunno why. Im trying to do a invasion event, with a laaaaarge aumont of mobs, like 1200.
  8. hi! i have this script where invade porings in 4 differets maps. and i want to set an extra item to drop. OnMyMobDead: while( !checkcell( "this",.@x,.@y,cell_chkpass ) ); makeitem .ItemID1,"this",@x,@y; dunno how it works :/ i realized ... now you cant get the x,y values on dead monsters ...
  9. HI! Im trying to get a npc how spawn mobs for a event. But also resapwn they when die with no delay. so this the idea: 1- talk to npc, the npc spawn the mobs in 2 maps at the same time. When mobs a mob died, respawn it without delay. after the event ends 2-Talk to the npc, and finish the spawn and respawn. Im trying to modify the cool WhiteEagle script.
×
×
  • Create New...