Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] modConstants


Tompwnage
 Share

Recommended Posts

Alright I've been playing around with VB 6.0 and learned alot from it. But something confused me. In order to change the number of maps, items, spells, ect I need to change the modconstants. So I did, for example # of items lim was 255 and so I changed it to 350 to test it out.
Public Const MAX_ITEMS As Byte = 350
then I saved it, launched the server and logged in. When I checked the items in the editor the item lim was still 255\. In my head I was like how could this be? So I went to the server and reloaded the items. Then checked again and still the lim was 255\. I don't know what went wrong.

Can someone please give me some inside on how this works?

Thanks for reading my post.
-Tompwnage
Link to comment
Share on other sites

@Soul:

> As Byte means it can't be more than 255\. Change it to As Integer.
>
> You have to compile it (File > Make server.exe) in order for it to save the changes.
>
> Warning - while you were typing a new reply has been posted. You may wish to review your post.
>
> :sad:

Alright, sorry but I got a error. I did as so and made another server.exe

When I ran it I got as follows:
Run-time error '10048'
Address in use
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...