Jump to content

rom3r

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by rom3r

  1. Is the drop sprite for the items missing?Give yourself the item with @item then drop it on the ground and see if that is the cause.
  2. Are you changing from the @job function or an npc.Because if you want it out of the admins @job thats alot of work when only admins can use that.If its an npc post the script.
  3. http://rathena.org/board/topic/64514-how-to-disable-3rd-job/ just remove their change quest like covered in this topic then dont add the option in your job changer
  4. Yeah its fine on start up i check free -m i have 357 avalible but as soon as apache and mysql start it drops to about 200 avalible. Im gonna move to a 2gb package on a diffrent host that runs centOS
  5. If your using renewal: http://rathena.org/wiki/Custom_Items Read that and make sure the item view id you set in accessoryid.lua Is in the set in the item_db and also in iteminfo.lua.And if your client requires copy and paste the lua you edited and rename them to filename.lub.
  6. No its 512mb 728mb burst.Cheap server just to make sure they were stable before getting decent package. EDIT: I finally got it complied.But now when i start it i get [Fatal Error]: Memory manager::memmgr_alloc failed (allocating 56+421888 bytes at script.c:759). So my question is 512mb not even enough to start a server for 1 person just so i can test latency and stuff before upgrading
  7. Im using ubuntu 11.04. Okay so everytime i compile the svn it get to the map server then i get Ive retried 3 times then got the svn from git again and still the same error.I see it says memory exhausted by idk if thats actually because it ran out of ram or something with the code.
  8. Im trying to make an npc move to a random location after every use.I failed at it so i found this topic in the forums http://rathena.org/board/topic/88062-npc-spawn-random-on-map/ But I dont want it to move every 15mins I want it to move after every use and its not working for me.Can someone help me with the code it requires? if(@minechance == 2) { misceffect 154; set MineExp,MineExp+1; if(@purechance == 2) getitem 7757,1; if(@Enchrichori == 2) getitem 7620,1; else getitem 7233,1; goto Lsuccess; } else { misceffect 155; goto Lfail; } } Im trying to add it before the goto Lsuccess.If you need the full script its located here http://rathena.org/board/files/file/3125-mining-npc/ ty for your time.
  9. I have a few questions i havent been able to figure out on my own. http://i61.tinypic.com/ok95ip.jpg How do I make the OnNPCKillEvent: Show the mission name instead of the numbers and make it stop listing the kills after you reached the amount required and tell you the mission is complete to return to the mission board? And how do i change the cash point reward to free points? mes "Gained some mission's rewards."; // rewards getexp .@baseexp,.@jobexp; if( .@reward_size ) for( .@i = 0; .@i < .@reward_size; .@i++ ) getitem .@reward_list[.@i],.@reward_qty[.@i]; #CASHPOINTS += .@cash; Zeny += .@zeny; break; } mes "Something went wrong .."; } I assumed it was the #cashpoints but changing it to #Points doesnt work and ive found nowhere else in the script that controlled they rewards.
  10. Been along time since Ive scripted and Ive forgot most of it but Im having a problem with L_Basic: mes"Select the class you would like to be disguised as."; switch( select( "Swordsman:Magician:Archer:Acolyte:Merchant:Thief:Novice" )){ Case 1: setarray .ClassID[0],1; break; Case 2: setarray .ClassID[0],2; break; Case 3: setarray .ClassID[0],3; break; Case 4: setarray .ClassID[0],4; break; Case 5: setarray .ClassID[0],5; break; Case 6: setarray .ClassID[0],6; break; Case 7: setarray .ClassID[0],0; break; } for(set .@i,0; .@i<getarraysize(.ClassID){ set .class$[.@i],.ClassID[.@i]; } Changebase @ClassID; mes"Apperance Changed!"; end; Its not setting the changebase @ClassID. So everytime i use it it doesnt change to whatever class I selected to disguise as.And its getting annoying because i used to know how to do this. Solved I remembered right after posting this This: for(set .@i,0; .@i<getarraysize(.ClassID){ set .class$[.@i],.ClassID[.@i]; } Changebase @ClassID; mes"Apperance Changed!"; end; Should be: set @i,.ClassID; Changebase @i; mes"Apperance Changed!"; end;
×
×
  • Create New...