Aydan Posted August 2, 2010 Share Posted August 2, 2010 added this to a vanilla (plain) EO1.0 and it wouldnt work. I had all them mismatch errors, then after fixing them I had constant problems with setting the % for them being dropped. always had a subscript out of range error.Then after that had an issue server side with (vNPC).Could you re-write the tutorial and correct it?I appreciate all your work, but if it's messy and has bugs then it's not exactly a good thing. I'll probably get flamed for this but still. Link to comment Share on other sites More sharing options...
Robin Posted August 2, 2010 Share Posted August 2, 2010 I added this just fine. I don't know how you managed to fuck it up. Link to comment Share on other sites More sharing options...
delgado88 Posted August 5, 2010 Share Posted August 5, 2010 this tutorial is unclear because i make all as you said in the tutorial and nothing new happens.you should upload the ready file Link to comment Share on other sites More sharing options...
Robin Posted August 5, 2010 Share Posted August 5, 2010 @delgado88:> this tutorial is unclear because I make all as you said in the tutorial and nothing new happens.> you should upload the ready fileNo it is not. Link to comment Share on other sites More sharing options...
delgado88 Posted August 6, 2010 Share Posted August 6, 2010 the tutorial should be write again, now more nicely and more carefully. Link to comment Share on other sites More sharing options...
Robin Posted August 6, 2010 Share Posted August 6, 2010 @delgado88:> the tutorial should be write again, now more nicely and more carefully.The tutorial is solid. Many people have followed it without any problems, including me. This is one of the best systems I've ever seen come out of Eclipse.If there are small errors, fix them yourself. Link to comment Share on other sites More sharing options...
Valon328 Posted August 18, 2010 Share Posted August 18, 2010 I got this wierd error :O Link to comment Share on other sites More sharing options...
Robin Posted August 18, 2010 Share Posted August 18, 2010 That's not weird. You've got it set as a single variable when it's an array. Link to comment Share on other sites More sharing options...
Aydan Posted August 18, 2010 Share Posted August 18, 2010 I'm all for learning. but responding like that just makes this community start to look like mirage source and look what happened there. I think there needs to be a slightly more "helping" thing going on or else all you elitist coders can siti n a corner making a game which never gets finished and laughing at us who cant and want help. Then let this forum die like MS did form the exact same reason XDDFA, Matt, Robin, etc. Link to comment Share on other sites More sharing options...
Valon328 Posted August 18, 2010 Share Posted August 18, 2010 :( How do I fix it? I've never really used VB much but I wanted to try copy + paste method when I first started to toy around with sadscript XD Link to comment Share on other sites More sharing options...
Robin Posted August 18, 2010 Share Posted August 18, 2010 @'Aydan':> I think there needs to be a slightly more "helping" thing going onIf you're using Origins then you need to learn to help yourself. I pointed out what the error was. It wouldn't kill him to Google what an array was. If he needs clarification then I'll be sure to reply with it, but people who're too lazy to even _try_ to help themselves don't deserve to be guided through everything.You might not like how I give it, but my help actually shows people how to debug problems and fix them themselves. If you want someone to babysit you and tell you how to do every little thing, you shouldn't be making a game in the first place. Link to comment Share on other sites More sharing options...
Valon328 Posted August 18, 2010 Share Posted August 18, 2010 Wait also just mentioning that this error was from that frmEditor_NPC (the one that he gave as an attachment) and I didn't touch it at all. Did anyone get the same error? :OEDIT: It works now ;D Nvm! Link to comment Share on other sites More sharing options...
horsehead Posted August 22, 2010 Share Posted August 22, 2010 I got an error if I want to compile the clientCompile error: type missmatch Link to comment Share on other sites More sharing options...
Ertzel Posted August 22, 2010 Share Posted August 22, 2010 Your gunna have to give a little more info then that…Like, where in the client are you getting that error? What line is it highlighting? Link to comment Share on other sites More sharing options...
RavenStar Posted August 30, 2010 Share Posted August 30, 2010 Thanks for the tutorial, much appreciated.As for those getting subscript out of range errors, do you get the error when in the NPC editor and try to enter a value into the "Chance" field? If so then try this fix;Goto module: modGameEditorsFind:```Public Sub NpcEditorInit()```Underneath this:```DropIndex = frmEditor_NPC.scrlDrop.Value```Add this:```frmEditor_NPC.scrlDrop.Value = 1```There's probably a better place/way to fix this but I doubt you care about optimization ^_^ Link to comment Share on other sites More sharing options...
tmoney Posted September 4, 2010 Share Posted September 4, 2010 This script isn't bad although its very irritating! :rolleyes: Some of us just dont know where to put shit with out assurance.You need to explain a bit more where to place it like underneath this or above this. Also you have some variables that are NOT defined, and you cannot expect everyone to be able to define their own variable.It's a nice attempt to help people but really its just an irritating tutorial. Very blah, no pics, nothing to really help you learn just copy N paste in spots and hope you got it right.:icon_music: Link to comment Share on other sites More sharing options...
Robin Posted September 4, 2010 Share Posted September 4, 2010 @tmoney:> you cannot expect everyone to be able to define their own variable.Yes we can. Origins isn't here for those who just want a free ride. Link to comment Share on other sites More sharing options...
Icie Juicy Posted September 7, 2010 Share Posted September 7, 2010 Great addition, for those of us that can read and comprehend a little bit of code here and there. Really appreciate it, just added it to my code. ;) Link to comment Share on other sites More sharing options...
viciousdead Posted September 10, 2010 Share Posted September 10, 2010 Thank you sooooo much Ballie!!!! It took me about 10 minutes to fix a few bugs it gave me, but that's just because my OS… Anyways it works perfectly! I love it! <3 Link to comment Share on other sites More sharing options...
VitinhooxD Posted September 11, 2010 Share Posted September 11, 2010 Really nice feature , this is a must have for EO. Link to comment Share on other sites More sharing options...
Murdoc Posted September 13, 2010 Share Posted September 13, 2010 After adding this code I`m getting `variable not defined` at:```Private Sub scrlDrop_Change() [color]DropIndex[/color] = scrlDrop.Value```Anyone have any idea as to whyÉ Link to comment Share on other sites More sharing options...
westin444 Posted September 13, 2010 Share Posted September 13, 2010 your getting that error because you well… didn't define the variable!@DJMaxus:> Underneath "Dim I As Long" Add:> ```> Dim DropIndex As Long> ``` Link to comment Share on other sites More sharing options...
kibbelz Posted September 24, 2010 Share Posted September 24, 2010 Hey im getting this error![](http://i53.tinypic.com/2mpnczb.jpg)Over the .DropChance in this line:.txtChance.text = CStr(Npc(EditorIndex).DropChance(DropIndex))Any Help? Link to comment Share on other sites More sharing options...
Ertzel Posted November 12, 2010 Share Posted November 12, 2010 So… I've got this to work with letting me add multiple items per NPC drop... but the whole percentage thing is not working. Its only letting me set a drop rate % as either 0 or 1 and if its 0 it never drops and 1 always drops.....Am I not understanding this system right or is it not suppose to be so I can set an item to drop like 50% of the time, another item to drop 10% of the time and another item to drop 80% of the time? Link to comment Share on other sites More sharing options...
viciousdead Posted November 14, 2010 Share Posted November 14, 2010 @Ertzel:> So… I've got this to work with letting me add multiple items per NPC drop... but the whole percentage thing is not working. Its only letting me set a drop rate % as either 0 or 1 and if its 0 it never drops and 1 always drops.....> > Am I not understanding this system right or is it not suppose to be so I can set an item to drop like 50% of the time, another item to drop 10% of the time and another item to drop 80% of the time?It's based on factions/decimals.I want an item to drop at the rate of 1 in 10, so I simply put in 1/10, it automatically converts it to decimal for me. In your case you want a 50% drop rate, thats 1/2\.Hope this helps. :cheesy: 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