Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Everything posted by PewN

  1. mga pre meron akong problema. nag add aq ng @afk [font=Arial, Verdana, Tahoma,]src/map/atcommand.c[/font] [font=Arial, Verdana, Tahoma,]add in line 1842:[/font] [font=Arial, Verdana, Tahoma,]/*==========================================[/font] [font=Arial, Verdana, Tahoma,]* @afk by Rad, built on by Tubby [/font] [font=Arial, Verdana, Tahoma,]* same as autotrade, but works without vending[/font] [font=Arial, Verdana, Tahoma,]*------------------------------------------*/[/font] [font=Arial, Verdana, Tahoma,]int atcommand_afk(const int fd, struct map_session_data* sd, const char* command, const char* message)[/font] [font=Arial, Verdana, Tahoma,]{[/font] [font=Arial, Verdana, Tahoma,]nullpo_retr(-1, sd);[/font] [font=Arial, Verdana, Tahoma,]if( map[sd->bl.m].flag.autotrade == battle_config.autotrade_mapflag )[/font] [font=Arial, Verdana, Tahoma,]{[/font] [font=Arial, Verdana, Tahoma,]if (!message || !*message) {[/font] [font=Arial, Verdana, Tahoma,]chat_createpcchat(sd, "(@afk) mail me~", "", 1, 1);[/font] [font=Arial, Verdana, Tahoma,]trade_tradeack(sd,4);[/font] [font=Arial, Verdana, Tahoma,]sd->state.autotrade = 1;[/font] [font=Arial, Verdana, Tahoma,]if( battle_config.at_timeout )[/font] [font=Arial, Verdana, Tahoma,]{[/font] [font=Arial, Verdana, Tahoma,]int timeout = atoi(message);[/font] [font=Arial, Verdana, Tahoma,]status_change_start(&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0);[/font] [font=Arial, Verdana, Tahoma,]}[/font] [font=Arial, Verdana, Tahoma,]clif_authfail_fd(fd, 15);[/font] [font=Arial, Verdana, Tahoma,]}[/font] [font=Arial, Verdana, Tahoma,]if((strlen(message) < 0)||(strlen(message) > 36)) {[/font] [font=Arial, Verdana, Tahoma,]chat_createpcchat(sd, "(@afk) mail me~", "", 1, 1);[/font] [font=Arial, Verdana, Tahoma,]trade_tradeack(sd,4);[/font] [font=Arial, Verdana, Tahoma,]sd->state.autotrade = 1;[/font] [font=Arial, Verdana, Tahoma,]if( battle_config.at_timeout )[/font] [font=Arial, Verdana, Tahoma,]{[/font] [font=Arial, Verdana, Tahoma,]int timeout = atoi(message);[/font] [font=Arial, Verdana, Tahoma,]status_change_start(&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0);[/font] [font=Arial, Verdana, Tahoma,]}[/font] [font=Arial, Verdana, Tahoma,]clif_authfail_fd(fd, 15);[/font] [font=Arial, Verdana, Tahoma,]}[/font] [font=Arial, Verdana, Tahoma,]chat_createpcchat(sd, message, "", 1, 1);[/font] [font=Arial, Verdana, Tahoma,]trade_tradeack(sd,4);[/font] [font=Arial, Verdana, Tahoma,]sd->state.autotrade = 1;[/font] [font=Arial, Verdana, Tahoma,]if( battle_config.at_timeout )[/font] [font=Arial, Verdana, Tahoma,]{[/font] [font=Arial, Verdana, Tahoma,]int timeout = atoi(message);[/font] [font=Arial, Verdana, Tahoma,]status_change_start(&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0);[/font] [font=Arial, Verdana, Tahoma,]}[/font] [font=Arial, Verdana, Tahoma,]clif_authfail_fd(fd, 15);[/font] [font=Arial, Verdana, Tahoma,]} else[/font] [font=Arial, Verdana, Tahoma,]clif_displaymessage(fd, "AFK is not allowed on this map.");[/font] [font=Arial, Verdana, Tahoma,]return 0;[/font] [font=Arial, Verdana, Tahoma,]}[/font] [font=Arial, Verdana, Tahoma,]src/map/atcommand.c[/font] [font=Arial, Verdana, Tahoma,]add in line 8927:[/font] [font=Arial, Verdana, Tahoma,]{ "afk", 40,40, atcommand_afk }, [/font] and in atcommand_conf pero sa game @afk is unknown command please help mga sir! pag kinocomple ko na dun sa L_SRV=login-server_SQL C_SRV=char-server_SQL M_SRV=map-server_SQL Wala man nangyayare basta ganun lang parang dedma lang ung putty
  2. can u see the image i follow the step but the sprite doesnt show
  3. mga tol pa help naglalagay ako ng custom weapons pero everytime i click ko to nag eeror e2 ung ss
  4. can anyone give me a script in pvp when u die u will go @alive and when u kill u will get cash points
  5. PewN

    Olrox can i request please can u give me a dota map port please :)

  6. sorry already fixed i added in sprite ahahaha sorry
  7. Louiss nice.! already coded?
  8. can anyone have a CERES INTEGRATED CP?? please can u give me sir thx i dont know if im in a right section to post it
  9. PewN

    phpMyAdmin problem

    oh sir thx.. im gonna test it
  10. PewN

    phpMyAdmin problem

    im using xampp sir
  11. PewN

    phpMyAdmin problem

    i already set.. btw in installing the mysql. u can set a password so i already set it
  12. the one you made.. the jaypee seperate v4p.. cuz the eathena is down so i can't get it to post here
  13. does any one have a vote4cash?? so everytime i vote the points in vote will be cash?? like Vote 4 Cash point please
  14. hi.. why my phpadmin.. doesnt need password? when everytime im going there using my 127.0.0.1 ip. its always going there without typing any password.. btw.. cuz i got a error before using password (no.) how to solved it?? i think that is my problem about this
  15. kaya parehas ung lumalabas add on the end of quest_shop"number" all quest_shop must have
  16. any one have this?? can u share it to me? and i have a question about making a custom eq? and anyone have a itemdb 4slot all except shield 2 slots??? please thx
  17. para madali at iwas error wag kana gumamit ng no-ip. .... just use ur normal Wan ip and Lan ip nalagay mo ba ung subnet sa ?? sa subnet_conf.. dapat nandun un 255.bla.blah.blah:WANIP:WANIP then isa pa 255.blah.blah:LANIP:LANIP
  18. try this.. Napster JDominguez in Char_conf Lan ip Wan ip use this also in Map_conf ..!! dont use 2 wan ip i think that is ur problem.. naka pag port forward ka na ba??
  19. does anyone know how to setup a server using hamachi ip???.. does hamachi ip needs port forward?? thx
  20. aus naman ung Bluesky VPS HOSTING .. ah nagkataon lang cgurong MALAKAS ang ulan sakanila.. tsaka very helpfull si TOPHER e..
  21. i think that's the only solution Jaypee. .
×
×
  • Create New...