• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

I do not have success, in website, due the db.s3db
I created the database,more still not getting success.
Anyone had success with any website for that engine.
Or already created a creator of accounts db.s3db

(ps. I can play, I can not create accounts because I do not have a site )
:(:(:(
 
@Evil Puncker I've used mysql as though he says (Checking Database Connection ... Failed to initialize SQLite connection. Schema File does not exist)
when I compile for mysql ". / configure - enable-mysql" says (otserv.cpp: 87: error: 'esndl' is not a member of 'std'
make [1]: ** [otserv.o] Error) when he was almost finished compiling.
@Nottinghster But is right to build when compiling sqlite in ". / Configure - enable-sqlite"
:(:(
 
getting this error when trying to compile

1>otserv.cpp(87): error C2039: 'esndl' : is not a member of 'std'
1>otserv.cpp(87): error C2065: 'esndl' : undeclared identifier
 
also i've noticed armors/legs still have vocation requirements, how should i go about fixing this
 
also i've noticed armors/legs still have vocation requirements, how should i go about fixing this
check your items.xml or movements
 
@Fizz The pools stay in tiles and it do not disappear. Pool of mana fluid, pool of fruit juifce, etc.
 
check your items.xml or movements

Items.xml was the first thing I checked, not there or in movements so I assume it's written into the source but I'm new to this so I have no idea where to look
 
@Dynamics Open movements.xml and comments the requirement vocation like this:

Code:
    <moveevent event="Equip" itemid="2488" slot="legs" function="onEquipItem">
        --vocation name="Knight"/>
        --vocation name="Elite Knight" showInDescription="0"/>
        --vocation name="Paladin"/>
        --vocation name="Royal Paladin" showInDescription="0"/>
    </moveevent>
 
look the exori have, i think it has buged

Yeah, I've noticed that in my server and fixed, here's the fix

SPELLS.CPP

In function Spell::Spell(), under
Code:
manaPercent = 0;

Paste this:
Code:
levelPercent = 0;

Now in function bool Spell::configureSpell(xmlNodePtr p), under
Code:
if(readXMLInteger(p, "manapercent", intValue)){
manaPercent = intValue;
}

Paste this:

Code:
if(readXMLInteger(p, "levelpercent", intValue)){
    levelPercent = intValue;
}

Now in function int32_t Spell::getManaCost(const Player* player) const, under
Code:
if(manaPercent != 0){
    int32_t maxMana = player->getMaxMana();
    int32_t manaCost = (maxMana * manaPercent)/100;
    return manaCost;
}

Paste this:
Code:
if(levelPercent != 0){
    int32_t level = player->getLevel();
    int32_t manaCost = (level * levelPercent)/100;
    return manaCost;
}

SPELLS.H

Under
Code:
int32_t manaPercent;

Paste this:
Code:
int32_t levelPercent;

And rebuild all

PS: Remembering to use in spells.xml the tag levelpercent="VALUE"

Hope you enjoy it !!!
 
Yeah, I've noticed that in my server and fixed, here's the fix

SPELLS.CPP

In function Spell::Spell(), under
Code:
manaPercent = 0;

Paste this:
Code:
levelPercent = 0;

Now in function bool Spell::configureSpell(xmlNodePtr p), under
Code:
if(readXMLInteger(p, "manapercent", intValue)){
manaPercent = intValue;
}

Paste this:

Code:
if(readXMLInteger(p, "levelpercent", intValue)){
    levelPercent = intValue;
}

Now in function int32_t Spell::getManaCost(const Player* player) const, under
Code:
if(manaPercent != 0){
    int32_t maxMana = player->getMaxMana();
    int32_t manaCost = (maxMana * manaPercent)/100;
    return manaCost;
}

Paste this:
Code:
if(levelPercent != 0){
    int32_t level = player->getLevel();
    int32_t manaCost = (level * levelPercent)/100;
    return manaCost;
}

SPELLS.H

Under
Code:
int32_t manaPercent;

Paste this:
Code:
int32_t levelPercent;

And rebuild all

PS: Remembering to use in spells.xml the tag levelpercent="VALUE"

Hope you enjoy it !!!

Thank you very much! I have another problem: The pools stay in tiles and it do not disappear. Pool of mana fluid, pool of fruit juifce, etc.
I have changed the sources and files that you told me earlier.
 
Back
Top