Search:

Type: Posts; User: oblisgr

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    910

    Omg i changed those variable to mob_ and it...

    Omg i changed those variable to mob_ and it compliled. i think class was crashing it.
    THANK YOU VERY MUCH FOR YOUR TIME :D
  2. Replies
    9
    Views
    910

    I m using gcc 9.3.0 in windows linux subsystem....

    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;
  3. Replies
    9
    Views
    910

    Yes that helped a lot, i had an idea how it could...

    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];
    ...
  4. Replies
    9
    Views
    910

    like this? const struct database[1] = ...

    like this?



    const struct database[1] =
    {
    {1, Leles Birian, female, breton, mage , 25, 5, 11 },
    {2, Nels Llendo , male , dunmer, thief, 6, 6, 16 }
    };
  5. Replies
    9
    Views
    910

    Can i build a shorter database?

    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...
  6. Replies
    3
    Views
    4,157

    Help me shorten this code plz.

    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...
  7. Replies
    1
    Views
    5,430

    Help me solve compiling warnings?

    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...
  8. Hello friend, thanks for answer. It compiles...

    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,...
  9. Newbie question: Help with these if statements?

    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...
Results 1 to 9 of 9