Jump to content

Vettra

Members
  • Posts

    34
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    localhost

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Vettra's Achievements

Poring

Poring (1/15)

0

Reputation

  1. It is possible a certain item give a bonus by the number of members at the party? Example: +1 STR for each party member(Hat item)
  2. Help pls code: int channel_send(struct Channel *channel, struct map_session_data *sd, const char *msg) { int idx = 0; if(!channel || !sd || !msg || (idx = channel_pc_haschan(sd, channel)) < 0) return -1; if(DIFF_TICK(sd->channel_tick[idx] + channel->msg_delay, gettick()) > 0) { char cdmessage[CHAT_SIZE_MAX]; int cdseconds = DIFF_TICK(sd->channel_tick[idx] + channel->msg_delay, gettick()) / 1000; int cdmilliseconds = (DIFF_TICK(sd->channel_tick[idx] + channel->msg_delay, gettick()) - (cdseconds * 1000))/100; //clif_messagecolor(&sd->bl,color_table[COLOR_RED],msg_txt(sd,1455),false,SELF); //You're talking too fast! safesnprintf(cdmessage, sizeof(cdmessage), "You still have %d.%d second(s) left before you can use the channel again.", cdseconds, cdmilliseconds); clif_displaymessage(sd->fd, cdmessage); return -2; } else { char output[CHAT_SIZE_MAX]; unsigned long color = channel->color; if((channel->opt&CHAN_OPT_COLOR_OVERRIDE) && sd->fontcolor && sd->fontcolor < channel_config.colors_count && channel_config.colors[sd->fontcolor]) color = channel_config.colors[sd->fontcolor]; safesnprintf(output, CHAT_SIZE_MAX, "%s %s : %s", channel->alias, sd->status.name, msg); clif_channel_msg(channel,output,color); sd->channel_tick[idx] = gettick(); } return 0; }
  3. Vettra

    Mob/portal

    Any one? help pls
  4. Hello, I would like to know how do create a mob on a certain map that is born every half hour and a portal is released Every time it is dies and closed every time it is alive thanks!
  5. Hello, I would like to know how to make a dialog run automatically when I drop a certain item. Ex: I killed a poring and dropped the card of the same, how do I for a dialogue when this happens?
  6. Hello everyone, someone has managed to create a simple register, using this form below? <form action="/"> <hr> <center> <input type="text" name="name" id="name" placeholder="E-mail" required> <input type="text" name="name" id="name" placeholder="Usuário" required> <input type="password" name="name" id="name" placeholder="Senha" required> <input style="margin-bottom:25px;" type="password" name="name" id="name" placeholder="Confirmar Senha" required><br/> <font size="1">*Você está concordando com os <a href="#">termos</a> ao se registrar.</font><br/> <a href="#" class="button" type="submit"class="button">REGISTRAR USUÁRIO</a> </center> <br/><br/><br/><br/> </form>
  7. Same problem, but map and char configurated corretly
  8. @sader1992 could it show how define_pre.h has to stay?
  9. How i add a table?
  10. Help pls. char and map properly configured, firewall disabled :/
  11. somebody help-me pls centos: 6.8(final) gcc++: 5.2.0
  12. @Cyro How i fixed that? centos6 gcc5
  13. Hi, somebody help pls, conection close error Client 2017-05-17 Cent os 6
  14. @Cyro I update GCC5, new erro, help pls make[1]: Entering directory `/home/emulador/src/login' MKDIR obj CC account.c CC ipban.c CXX login.cpp CC loginchrif.c CC loginclif.c CC logincnslif.c CC loginlog.c LD login-server /usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc obj/login.o: In function `do_shutdown()': login.cpp:(.text+0x84): undefined reference to `do_shutdown_loginchrif()' obj/login.o: In function `login_config_read(char const*, bool)': login.cpp:(.text+0x10e6): undefined reference to `ipban_config_read(char const*, char const*)' login.cpp:(.text+0x10f8): undefined reference to `loginlog_config_read(char const*, char const*)' obj/login.o: In function `do_final': login.cpp:(.text+0x1752): undefined reference to `login_log(unsigned int, char const*, int, char const*)' login.cpp:(.text+0x177f): undefined reference to `ipban_final()' login.cpp:(.text+0x1784): undefined reference to `do_final_loginclif()' login.cpp:(.text+0x1789): undefined reference to `do_final_logincnslif()' login.cpp:(.text+0x17c6): undefined reference to `do_final_loginchrif()' login.cpp:(.text+0x1801): undefined reference to `loginlog_final()' obj/login.o: In function `do_init': login.cpp:(.text+0x185a): undefined reference to `account_db_sql()' login.cpp:(.text+0x1870): undefined reference to `logcnslif_get_options(int, char**)' login.cpp:(.text+0x18a7): undefined reference to `do_init_loginclif()' login.cpp:(.text+0x18ac): undefined reference to `do_init_loginchrif()' login.cpp:(.text+0x18be): undefined reference to `ipban_init()' login.cpp:(.text+0x191d): undefined reference to `logclif_parse(int)' login.cpp:(.text+0x19b5): undefined reference to `do_init_logincnslif()' login.cpp:(.text+0x19de): undefined reference to `login_log(unsigned int, char const*, int, char const*)' login.cpp:(.text+0x19f1): undefined reference to `loginlog_init()' obj/login.o: In function `parse_console': login.cpp:(.text+0xb1): undefined reference to `cnslif_parse(char const*)' obj/loginchrif.o: In function `logchrif_parse_reqchangemail.part.0': loginchrif.c:(.text+0x1b): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_send_accdata': loginchrif.c:(.text+0x757): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_parse_requpdaccstate': loginchrif.c:(.text+0xb2f): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_parse_reqbanacc': loginchrif.c:(.text+0xc61): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_parse_reqchgsex': loginchrif.c:(.text+0xe5a): undefined reference to `login_get_accounts_db' obj/loginchrif.o:loginchrif.c:(.text+0x1029): more undefined references to `login_get_accounts_db' follow obj/loginchrif.o: In function `logchrif_parse_setacconline': loginchrif.c:(.text+0x1209): undefined reference to `login_add_online_user' obj/loginchrif.o: In function `logchrif_parse_setaccoffline': loginchrif.c:(.text+0x1254): undefined reference to `login_remove_online_user' obj/loginchrif.o: In function `logchrif_parse_updonlinedb': loginchrif.c:(.text+0x12cf): undefined reference to `login_online_db_setoffline' loginchrif.c:(.text+0x132e): undefined reference to `login_create_online_user' loginchrif.c:(.text+0x1358): undefined reference to `login_waiting_disconnect_timer' obj/loginchrif.o: In function `logchrif_parse_req_global_accreg': loginchrif.c:(.text+0x13eb): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_parse_setalloffline': loginchrif.c:(.text+0x14e0): undefined reference to `login_online_db_setoffline' obj/loginchrif.o: In function `logchrif_parse_updpincode': loginchrif.c:(.text+0x1553): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_parse_pincode_authfail': loginchrif.c:(.text+0x1633): undefined reference to `login_get_accounts_db' loginchrif.c:(.text+0x16b1): undefined reference to `login_remove_online_user' obj/loginchrif.o: In function `logchrif_parse_accinfo': loginchrif.c:(.text+0x175e): undefined reference to `login_get_accounts_db' obj/loginchrif.o: In function `logchrif_server_reset': loginchrif.c:(.text+0x1ba0): undefined reference to `login_online_db_setoffline' obj/loginclif.o: In function `logclif_auth_failed': loginclif.c:(.text+0xe1): undefined reference to `login_msg_txt' loginclif.c:(.text+0x183): undefined reference to `login_msg_txt' loginclif.c:(.text+0x201): undefined reference to `login_get_accounts_db' obj/loginclif.o: In function `logclif_parse_reqcharconnec': loginclif.c:(.text+0x428): undefined reference to `login_mmo_auth' obj/loginclif.o: In function `logclif_parse': loginclif.c:(.text+0xad9): undefined reference to `login_mmo_auth' loginclif.c:(.text+0x111d): undefined reference to `lan_subnetcheck' loginclif.c:(.text+0x12ab): undefined reference to `login_add_online_user' loginclif.c:(.text+0x12c3): undefined reference to `login_waiting_disconnect_timer' loginclif.c:(.text+0x134e): undefined reference to `login_waiting_disconnect_timer' loginclif.c:(.text+0x139a): undefined reference to `login_remove_online_user' obj/logincnslif.o: In function `cnslif_parse': logincnslif.c:(.text+0x46d): undefined reference to `login_config_read' logincnslif.c:(.text+0x513): undefined reference to `login_mmo_auth_new' collect2: error: ld returned 1 exit status make[1]: *** [login-server] Error 1 make[1]: Leaving directory `/home/emulador/src/login' make: *** [login] Error 2
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.