Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another Question
#1
How can I change the max exp given, HP, Strength etc. for NPC's?
I tried to change the max Exp given by just editing the NpcEditor.frm but that didnt work Tongue
I also read it had something to do with integers but I dont really understand that

Thanks In Advance
Reply
#2
Integers are types of variables. You are probably trying to store a value too high for this variable to hold, so you can change it to Long so it will hold much more. Integers can hold values -32,768 to 32,767 and Longs can hold -2,147,483,648 to 2,147,483,647
Reply
#3
thanks for the help,

but where do I have to change that?
I looked for integer's but I couldnt find anything that looked like an integer for Max exp given or something
Reply
#4
It's calculated Server Side.

There's no static EXP/HP variable.
Reply
#5
There are tutorials though -> You Set NPC Hp and EXP

(This website will be your friend -> http://www.sylphonline.com/enginefiles/)
Reply
#6
ok thanks,

but I forgot to tell I'm using Elysium Diamond, I know, why don't i ask on the Elysium Forums then?
Well you guys seem more experienced coders and I thought that you guys here could help me better, so most of the tut's here don't work for me.
But thanks for the help and ill try to find out how to do it myself, unless someone is willing to make a tutorial for it :wink:
But thanks and good luck with your current projects
Reply
#7
ED is MS3.03 with alot of tuts.

If you find a tut here, you could use it on ED...

You'd just have to get a little change done here and there, maybe a variable that's defined here that's defined differently here. But it's simple...

If you need any additional help, PM me.
Reply
#8
Wow, thanks for the fast response, and I knew that but that's why the tut above was hard to understand because a lot of it was already in the server, but thanks for the offer, but I don't really understand it so I'll probably ask so many that you could better write a tut.
Maybe if I change the scrollbar to a textbox? could that help or is that really hard to code.
( I know I cant just change the scrollbar to a textbox and im done)
But thanks for the help and the fast response
Reply
#9
A scroll bar... To a text box?

I don't understand that...

It's better you PM me and we talk on MSN or something...

I'm in school now, wont be home for another few hours.
Reply
#10
Well, as you can see in the image, you have a scrollbar to change the value of the exp given or strength or anything.
I thought that maybe it was possible to change that to a textbox so you can just put in a number...
But that probably wont work or will be very hard to code.

[Image: 11.jpg]
Reply
#11
Not really.

Code:
Value = Val(textbox.text)
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#12
OH! I get what you mean.

That's really easy to do.
Reply
#13
but then the max will still be around 32k right?
But if you're able to give as many health, exp given, etc as you wish with this, where to put it?
thanks for all the help you'll are giving me!
Reply
#14
Use a text box and a long variable xD
Reply
#15
Ok, and how to set the Integers to Longs?
Reply
#16
Public GiveEXP As Long...
Reply
#17
Wow. If he's asking basic coding questions like that...

Hehe, we're here to help though. Ignore the sarcasm of everyone else! I suppose...

I dunno. Anyways, Integer is also a data type in VB. Be careful how you use it in talking to a bunch of vb programmers. Tongue
Reply
#18
well, I thought of that but I couldnt find it, and yes I expected some sarcasm but let's face it.. I suck at coding, but you have to start somewhere
Reply
#19
Abyss Wrote:well, I thought of that but I couldnt find it, and yes I expected some sarcasm but let's face it.. I suck at coding, but you have to start somewhere

Don't worry. I was you like 5 years ago. xD

I'll be happy to help, as when I was learning no one wanted to help. Other than Hayloe. >.> And Hayloe is a stupid emo bitch with a life now. So, I hardly talk to him. xD
Reply
#20
Thanks, and.. Lol Tongue
Reply
#21
I suggest you start with MSE1. But, what the hell do I know...never used Elysium before...
Reply
#22
Elysium is better for beginners like me because that has a lot more features
Reply
#23
Abyss Wrote:Elysium is better for beginners like me because that has a lot more features

For learning, you should use a simpler program.

Once you learn the basics, then go ahead and ADD the features yourself.

And if you're too lazy, then use Elysium. I know Elysium has more features than MSE, but I use MSE time and time again, because when you code something instead of having it there for you... You feel better about yourself. xD

If you're only using elysium because of the features, and you don't care about learning, use an Engine. Alot less hassle for both you and us.
Reply
#24
I want to learn, but what I meant was: You don;t have to add all the things yourself and its a better engine to start with when you know nothing about coding, and im trying to learn VB6 now
Reply
#25
I do it because it's fun.

You're game is basically ES with a different name, and a totally different community, if you gather one. It's more original if you add them yourself, because you can make changes specific to your game; your project.

But, I can't complain. I'll help, but it should be through PM. ES isn't supposed to get support on these forums, last I understood.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)