Mirage Source
http://miragesource.net/forums/

Another Question
http://miragesource.net/forums/viewtopic.php?f=201&t=3270
Page 1 of 3

Author:  Abyss [ Sun Jan 13, 2008 9:24 pm ]
Post subject:  Another Question

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 :P
I also read it had something to do with integers but I dont really understand that

Thanks In Advance

Author:  Dragoons Master [ Sun Jan 13, 2008 9:30 pm ]
Post subject:  Re: Another Question

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

Author:  Abyss [ Sun Jan 13, 2008 9:44 pm ]
Post subject:  Re: Another Question

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

Author:  Rezeyu [ Sun Jan 13, 2008 10:17 pm ]
Post subject:  Re: Another Question

It's calculated Server Side.

There's no static EXP/HP variable.

Author:  Stomach Pulser [ Mon Jan 14, 2008 12:00 am ]
Post subject:  Re: Another Question

There are tutorials though -> You Set NPC Hp and EXP

(This website will be your friend -> http://www.sylphonline.com/enginefiles/)

Author:  Abyss [ Mon Jan 14, 2008 5:19 pm ]
Post subject:  Re: Another Question

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

Author:  Matt2 [ Mon Jan 14, 2008 5:26 pm ]
Post subject:  Re: Another Question

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.

Author:  Abyss [ Mon Jan 14, 2008 5:38 pm ]
Post subject:  Re: Another Question

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

Author:  Matt2 [ Mon Jan 14, 2008 5:40 pm ]
Post subject:  Re: Another Question

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.

Author:  Abyss [ Mon Jan 14, 2008 5:51 pm ]
Post subject:  Re: Another Question

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

Author:  Robin [ Mon Jan 14, 2008 5:55 pm ]
Post subject:  Re: Another Question

Not really.

Code:
Value = Val(textbox.text)

Author:  Matt2 [ Mon Jan 14, 2008 6:04 pm ]
Post subject:  Re: Another Question

OH! I get what you mean.

That's really easy to do.

Author:  Abyss [ Mon Jan 14, 2008 7:17 pm ]
Post subject:  Re: Another Question

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!

Author:  Dragoons Master [ Mon Jan 14, 2008 8:26 pm ]
Post subject:  Re: Another Question

Use a text box and a long variable xD

Author:  Abyss [ Mon Jan 14, 2008 8:55 pm ]
Post subject:  Re: Another Question

Ok, and how to set the Integers to Longs?

Author:  Stomach Pulser [ Mon Jan 14, 2008 9:37 pm ]
Post subject:  Re: Another Question

Public GiveEXP As Long...

Author:  Matt2 [ Mon Jan 14, 2008 9:48 pm ]
Post subject:  Re: Another Question

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. :P

Author:  Abyss [ Mon Jan 14, 2008 9:51 pm ]
Post subject:  Re: Another Question

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

Author:  Matt2 [ Mon Jan 14, 2008 9:52 pm ]
Post subject:  Re: Another Question

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

Author:  Abyss [ Mon Jan 14, 2008 9:54 pm ]
Post subject:  Re: Another Question

Thanks, and.. Lol :P

Author:  Stomach Pulser [ Mon Jan 14, 2008 11:05 pm ]
Post subject:  Re: Another Question

I suggest you start with MSE1. But, what the hell do I know...never used Elysium before...

Author:  Abyss [ Tue Jan 15, 2008 11:07 am ]
Post subject:  Re: Another Question

Elysium is better for beginners like me because that has a lot more features

Author:  Lea [ Tue Jan 15, 2008 1:20 pm ]
Post subject:  Re: Another Question

But it's also more cluttered and unorganized, harder to read, and more complex.

Author:  Matt2 [ Tue Jan 15, 2008 1:33 pm ]
Post subject:  Re: Another Question

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.

Author:  Abyss [ Tue Jan 15, 2008 1:36 pm ]
Post subject:  Re: Another Question

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

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/