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

Global switch


hedgy
 Share

Recommended Posts

I'd like to bring back my global variables suggestion I suggested it the nightly releases topic. Plenty of people liked the idea.

Global variables are variables that are the same for every single player, the values will be added in a server side ini file for example, which only admins can edit.

With this you can for example get events like:

Everyone bringing an star to the christmas tree, variable adds 1 to it everytime someone brings an star. When 100stars are brought a special door will open where the christmas event begins.

Also there are a few bugs reported by me and a friend. However there hasn't been replied on any of them. I hope someone is willing to look into them. The bugs are all conffirmed in EO3.0.

Spells problem. Reported by MarBru. Couldn't find any way past this error.

> When you make 23 spells, non-admin players will get a bug were they cant use the chat,move map or do anything else.
>
> I tried this at EO3.0, EO3.0 electrified events,EA3.0.10 and some other versions and i still got this problem.
>
> We've added values to all spells to see if it's some case of a value, even fresly remade all spells. But it doesn't work in any case.
>
> Thanks for your time.
>
> Sound keeps looping can be fixed by converting your sounds to a higher bitrate.
>
> > When I play a wave sound of 705kbps, 1 second long and 144KB size and try to play in an event it plays once.
> >
> > When I play a wave sound of 263kbps, 2 seconds long and 79,9KB size and try to play in an event it keeps playing untill I close the whole game (it even goes ahead at main menu)
> >
> > Get reward multiple times. Can be prevented by adding extra condition checks.
> >
> > > I'm creating the following event:
> > >
> > > >Show some chatbox
> > >
> > > >Give 100gold
> > >
> > > >Set switch (required to activate this event) TRUE, as in already activated, you can't recieve the item again.
> > >
> > > I spam CTRL 9times before I press "continue". And I recieve 900gold.
> > >
> > > When you have a high attacking speed this bug could be activated quite easely on accident.
Link to comment
Share on other sites

> Thanks! We've noted them! You're not going unnoticed. ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

Thanks, I'm glad to hear that.![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

> Why use the crappy old ini system again…Why not just use a .dat file, make them as a rec, read the .dat and put the data into the rec, in turn making it faster to load, plus the fact you can make an editor for it making it a lot easier to mess with. not that hard to do.

I didn't know that dat would be faster. Guess that would be better then. ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
Link to comment
Share on other sites

> I didn't know that dat would be faster. Guess that would be better then. ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

Well you can't really see a performance improvement unless ur loading up something like the player account file, item files, etc. This does have a performance boost but not one where it will dramatically improve it…like i always do in programming, never use a system that will slow the game down no matter how small of performance it takes away.
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...