xppxdd Posted October 26, 2011 Share Posted October 26, 2011 I did delete the folder (NPC) and she regenerate ..there are spawn though with no sprite or info…@taegan how did you fix and include the scrl? :) Link to comment Share on other sites More sharing options...
Taegan Posted October 26, 2011 Share Posted October 26, 2011 @xppxddNow remake the NPCs. Unless you didn't delete properly, in which case you should do it by accessing the npcs folder in server, but from what you said, I think you did do it right.Now, about the scrl. If you mean the quest one, first I clicked it and copy pasted it to the place I wanted it. Then I 2x clicked it on the quest version, copied the code, 2x clicked the one I pasted in the item version, and pasted the code there. o_o Link to comment Share on other sites More sharing options...
xppxdd Posted October 26, 2011 Share Posted October 26, 2011 yes i've done the same, but i keep on getting the "RunTime error 9" with the outrange subscrip and i dont know why :ZPrivate Sub scrlDrop_Change() DropIndex = scrlDrop.Value fraDrop.Caption = "Drop - " & DropIndex *txtChance.text = NPC(EditorIndex).DropChance(DropIndex) scrlNum.Value = NPC(EditorIndex).DropItem(DropIndex) scrlValue.Value = NPC(EditorIndex).DropItemValue(DropIndex)End Sub* = error Link to comment Share on other sites More sharing options...
Carim123 Posted October 26, 2011 Share Posted October 26, 2011 Add DropIndex = 1 on your form load/npc editor init. I had the same error, and thought the same, until I realised that DropIndex wasn't actually setting to anything in range. Link to comment Share on other sites More sharing options...
Scott Posted October 26, 2011 Author Share Posted October 26, 2011 That would be what the error is telling you is wrong. Link to comment Share on other sites More sharing options...
xppxdd Posted October 27, 2011 Share Posted October 27, 2011 added already…to top:Private DropIndex As Byteand to the form load now the DropIndex = 1.still the same:ZScott whould you like to have the source to see if you can point me what is the problem ? :) Link to comment Share on other sites More sharing options...
Taegan Posted October 27, 2011 Share Posted October 27, 2011 What exactly is your problem again? o_o Screeny? Link to comment Share on other sites More sharing options...
xppxdd Posted October 28, 2011 Share Posted October 28, 2011 fixed, in scrlDrop value was 0 and needed to be 1:)thnx every one ! Link to comment Share on other sites More sharing options...
Taegan Posted October 28, 2011 Share Posted October 28, 2011 Congrats! Link to comment Share on other sites More sharing options...
eusouojiin Posted November 4, 2011 Share Posted November 4, 2011 I did everything, but always drop the item, same that I put "2" in the "txtChance", and if I try put "02", ".02", 0.02", and things like this in the "txtChance", ever back to "2".Someone can help me? Thanks. (:Forgive my bad english, but i'm not american. :) Link to comment Share on other sites More sharing options...
Taegan Posted November 4, 2011 Share Posted November 4, 2011 I think it's supposed to be 0,01, for instance, which is to say you're supposed to do it with a comma IIRC. Link to comment Share on other sites More sharing options...
Scott Posted November 5, 2011 Author Share Posted November 5, 2011 **The format for drop chance is .percent Example: .25 = 25% .16 = 16% 1 = 100% More than 1 = 100%** If it does not work like that, you ducked something up. Link to comment Share on other sites More sharing options...
eusouojiin Posted November 5, 2011 Share Posted November 5, 2011 Oh, thanks. I'll try again. (:@edit:I do everything like the tutorial, but always that I put ".", for ".2"(2%), the value back to "0", and if I try put "0.2", and close the editor, when I open again the value go on to 2 ;(I copy tutorial's frmEditor_Npc for my project, I follow step by step, but nothing ;/ Link to comment Share on other sites More sharing options...
Taegan Posted November 5, 2011 Share Posted November 5, 2011 I'm serious, try a comma. I don't know why .25 and what not doesn't work as specified, but I'm pretty sure 0,25 works perfectly. Link to comment Share on other sites More sharing options...
Justn Posted November 5, 2011 Share Posted November 5, 2011 Whats your code for 'txtChance_Click'??Also> •The "Chance" box now accepts only a decimal value from 0 to 1\. You can enter fractional values as well, now. For instance, you can type "5/12" for a 5 of 12 chance, or "1/10" for a 1 of 10 chance. The number will auto-convert to decimal. Additionally, you can now use percentages. Entering "25%" for example will automatically convert to ".25".These all work for me so try the fraction thingEdit: I still don't know what error is fixed from the original tutorial I got it to work a while back and I still havent ran into any bugs =/ Link to comment Share on other sites More sharing options...
eusouojiin Posted November 5, 2011 Share Posted November 5, 2011 Thanks Taegan, a tryed 0,2 and worked perfectly. Thank you so much. (: Link to comment Share on other sites More sharing options...
Taegan Posted November 5, 2011 Share Posted November 5, 2011 :D Yay, I'm glad. Link to comment Share on other sites More sharing options...
terabin Posted November 8, 2011 Share Posted November 8, 2011 I did everything, but always drop the item, same that I put "2" in the "txtChance", and if I try put "02", ".02", 0.02", and things like this in the "txtChance", ever back to "2".Someone can help me? Thanks. (:Forgive my bad english, but i'm not american.HELPP Link to comment Share on other sites More sharing options...
Taegan Posted November 8, 2011 Share Posted November 8, 2011 I suggest you read the posts right above yours. Try 0,02 instead of 0.02. Link to comment Share on other sites More sharing options...
terabin Posted November 8, 2011 Share Posted November 8, 2011 Thanks Link to comment Share on other sites More sharing options...
jmng14 Posted January 25, 2012 Share Posted January 25, 2012 nice :D Link to comment Share on other sites More sharing options...
Peter120 Posted February 5, 2012 Share Posted February 5, 2012 NPC s never drop the item, help! Link to comment Share on other sites More sharing options...
Scott Posted February 5, 2012 Author Share Posted February 5, 2012 Than you messed up the tutorial, make sure you re-read my whole first post and redo the tutorial, if the problem happens again let me know. Make sure you read about the format you must use to set the drop rate. Link to comment Share on other sites More sharing options...
Peter112 Posted February 5, 2012 Share Posted February 5, 2012 I redo it and now works. Thanks! :cheesy: Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 14, 2012 Share Posted March 14, 2012 Server compile error…[![](http://www10.pic-upload.de/thumb/14.03.12/bh96aq2ffvq.png)](http://www.pic-upload.de/view-13340236/Unbenannt.png.html) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now