Omg i changed those variable to mob_ and it compliled. i think class was crashing it.
THANK YOU VERY MUCH FOR YOUR TIME :D
Type: Posts; User: oblisgr
Omg i changed those variable to mob_ and it compliled. i think class was crashing it.
THANK YOU VERY MUCH FOR YOUR TIME :D
I m using gcc 9.3.0 in windows linux subsystem.
I think those char variables cause the problem
i used the following and it compiled:
struct mob
{
int level;
int ac;
Yes that helped a lot, i had an idea how it could be done but didnt know how. i made it like this:
struct mob
{
char name[64];
char sex[64];
char race[64];
...
like this?
const struct database[1] =
{
{1, Leles Birian, female, breton, mage , 25, 5, 11 },
{2, Nels Llendo , male , dunmer, thief, 6, 6, 16 }
};
Hello, i m newbie and i want to ask if there a way to make my databale shorten and more smart. To be not nessessary every time to type all those ifs.
An example would be perfect.
Thanks...
ch_ret tes_equipment_thief(int sn, int level, CHAR_DATA * ch, void *vo)
{
OBJ_DATA *weapon;
OBJ_DATA *cuirass;
OBJ_DATA *greaves;
OBJ_DATA *helm;
OBJ_DATA *gauntlets;
OBJ_DATA...
Hello, i recently updated my WSL program and when compiling the same program i get a ton of warnings. like...
track.c:309:21: note: ‘snprintf’ output between 26 and 4121 bytes into a destination...
Hello friend, thanks for answer.
It compiles without errors but it crashes when i try to brew a potion (run the script)
By my little knowdge this happens because of
if (strcmp(argument,...
The following program i have write but i get a problem.
If i use single if for each team and whatever string i write it gets values from the last team.
if i use else if i get values from the...