One thing I've been wondering about on my rpg, is how many variables a mob (in this case, specifically a player mob), can have without causing significant lag.
Here are the current variables I am using
Alignment
Attack
Health
Max Health
SP
Max SP
Strength
Defence
Agility
Intellect
Healthxp
SPxp
Strengthxp
Defensexp
Agilityxp
Intellectxp
Inventory (List)
Quest Markers (List)
Skills (List)
Effects (List)
Party
Gold
Now there is no noticeble lag while playing (However there are only three maps made so far, out of at least a hundred when the game is done, and I still want to add in variables for each of the 30+ skillsets in the game, and one for the experience towards the skillset, my question is if having this many variables will cause extreme lag when hosting the game.
Delay
ID:161670
Apr 12 2008, 3:12 pm
|
|
Apr 12 2008, 3:41 pm
|
|
Hey ur the dude helpin me >.> and 100 maps?!!?! O_O but as far as i know on numbers of variables i think even with 30 more (why ud need that many ill never know) should still be pretty okay in lag-wise now it could get pretty confusing later on so =\
|
In response to SadoSoldier
|
|
The confusing part isn't a problem, the problem is that its going to be a large game, and every bit of lag hurts.
|
In response to Techgamer
|
|
good point but if it does lag at all which im not saying it wont or will it won't be too much and it usually depends on what is linked to the variables
|
In response to SadoSoldier
|
|
A lot of variables shouldn't really hurt your CPU but the 100+ maps will.
|
In response to DisturbedSixx
|
|
Its an Orpg, so I basically have to have a lot of content, or have an extreme grinding curve. anyway, good to know that the variables are somewhat safe to use.
|