Jump to content

Lighta

Members
  • Posts

    737
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Lighta

  1. It's a directory where asking for, you have given him the fullpath =(, remove the filename in it. [lighta@localhost rathena]$ ls /usr/include/ | grep zlib.h zlib.h [lighta@localhost rathena]$ ./configure --with-zlib=/usr/include/ altought since I suppose you're on a 32bit add --disable-64bit into your configure as option. giving you to execute : ./configure --with-zlib=/usr/include/ --disable-64bit
  2. Lighta

    Compilation

    Well from the screen you server is "fine" you're just using a TONS of timer. Why not using a timer with different label ?? or sleep2 ? Well this is script support for that not compilation anymore =) 64bit is : ./configure && make clean sql Sorry idk where thos "*" were coming from, maybe a typo..
  3. Oh ok sorry bt full is a gdb function, when you looked the dump with : 'gdb ./map-server_sql ./core' just do a 'bt full' following it. I just read the other topic, I'm interest in seeing why the zlib search failed, is that the case even if you specify the zlib.h path with : ./configure --with-zlib=/my/dir/path/
  4. How to take false credit : Also the github count seem wrong : the real result should be made with : lighta@lighta-1304:~/Documents/Myscript/RO/Servs/ragit$ git shortlog -s -n --all 1759 skotlex 1121 Playtester 896 ultramage 688 L0ne_W0lf 615 shennetsind 563 Lupus 378 ai4rei 320 celest 296 Lance 246 FlavioJS 243 brianluau 224 euphyy 217 zephyrus 211 amber 185 Inkfish 157 toms 149 Paradox924X 125 MasterOfMuppets 119 (no author) 102 kenpachi2k11 102 shadowlady 98 codemaster 97 rud0lp20 90 Vicious 85 glighta 85 masao87 83 gepard1984 82 lighta 74 samuray22 72 Kisuka 68 Kevin 68 eathenabot 68 shadow 66 momacabu 65 Euphy 65 mc_cameri 64 evera 62 SinSloth 60 Cahyadi Ramadhan Togihon 60 Cydh Ramdh 58 epoque11 53 j-tkay 51 DracoRPG 43 akinari1087 42 flaviojs 42 sketchyphoenix 40 littlewolf 38 Akinari1087 38 Gepard 36 daegaladh 36 jmanfffreak 35 eaac 32 ajarn 32 xantara 31 greenboxal2 31 wizputer 30 Nasedo 30 valaris 28 blackhole89 28 lemongrass3110 28 protimus 25 Komurka 25 Poki#3 25 blacksirius 25 cookiecrumbs 25 nanakiwurtz 24 Zido 24 akrus 24 markzd 23 xazax-hun 21 flaid 20 playtester 19 aleos 19 lordttseven 19 musashiden 16 Aria 16 aleos89 16 calciumkid 16 og2 16 reddozen 15 KarLaeda 15 Zephiris 14 DZeroX 14 thatakkarin 13 ignizh 12 kobra_k88 12 shinomori 11 LuzZza 11 Skotlex 11 Valaris 11 Yommy 11 spre123 10 Chilly0123 10 ediejohnny 10 hipsterfont 10 nsstrunks 10 shadoweathena 10 technote24 9 mandark022 9 script-z3r0 8 Kargha 8 Lilith- 8 Mass 8 Sara 8 cydh 8 nana 8 tr0n93 7 jtynne 7 veider 6 GodLesZ 6 Shinigami 6 SkittleNugget 6 exneval 6 mercurial123 6 rathenabot 5 Lilith 5 Paradox924x 5 arcshiru 5 davidsiaw 5 foruken 5 sirius 4 Xynvaroth 4 deadlysilence 3 Capuche 3 Deadly Silence 3 Euph 3 Kayla 3 Rekiem 3 rikimaru17 2 Atemo 2 Evera 2 L0neW0lf.eAthena 2 Mike Langford 2 QQfoolsorellina 2 cannelle 2 cleaverbeaver 2 killercube 2 salepate 2 spira 2 trojal 1 Brian 1 CIA-2 1 Matej Pristak 1 Mauro Di Girolamo 1 Miloeve 1 Protimus 1 SketchyPhoenix 1 Toshiro90 1 baalberith 1 flaviojs2005 1 lmaatl 1 pori 1 script-Z3R0 1 unknown 1 zapbomb 1 zido Well ofc there a little issue cause some user have 2 nick from the change of sorceforge to github etc...
  5. Lighta

    Compilation

    Wrong since uh lot of revision: 1-jun-2012 => d81154b should be : 32bit : ./configure --disable-64bit && make clean sql 64bit : ./configure make clean sql
  6. yes now do a 'bt full', want to see wich strlen failed on our emu, maybe a string not terminating with '/0' make him crash. Do you mean cmake ? You either have the cmake or configure option. Cmake : mkdir build && cd build && cmake -G"Unix Makefiles" -DINSTALL_TO_SOURCE=ON .. && make install Configure : ./configure && make clean sql They both work in the same way producing their makefile then compiling with those rule if you have done "make clean sql" without ./configure that mean you have copyed those "Makefile" wich mean you only have bypass OS check... (configure check for library and if gcc support some option => produce CC_FLAG)
  7. Hmm ye try without npc, but also it seem you had a segfault could that produce a coredump so we could look where it failed ?
  8. Do you mean pre-re client like below version 23 or just the emulater in general ? If it's about the client well it's already the case most of support are for newer client and I don't really see a reason why you would like to keep an old one. (unless you have done some modification in it). Even in a pre-re serv a renewal client will act fine. Now about the emu the pre-re will continue to be maintain but it's not our main priority, we mostly dev with the RENEWAL enable and try to not alter PRE-RE the other way arround is quite rare.
  9. Ye we could give it a try, I'm kinda interest of removing all the very old version definition too
  10. let just add a note stating that you need to delete it yourself ?
  11. nice, yeah I didn,t notice the itemtype change, (not that I would have recognize IT_DELAYCONSUME anyway =) thx for the info, in this case yeah look perfect.
  12. Lighta

    R>script

    =) na you were close enough, it will have work smoothly too. and that intif_broadcast only use clif_broadcast atm, while it seem you wanted to use clif_broadcast2
  13. Lighta

    R>script

    i'm just wondering why you ain't using ALL_CLIENT in broadcast2 but refer looping yourself. nb2 : This with broadcast to all players in that mapserv. if you have a multimap setup (2 mapserv) and want to broadcast to all you should use 'intif_broadcast(const char* mes, int len, int type)' instead. src/custom/atcommand.inc | 22 ++++++++++++++++++++++ src/custom/atcommand_def.inc | 2 ++ src/map/pc.h | 1 + 3 files changed, 25 insertions(+) diff --git a/src/custom/atcommand.inc b/src/custom/atcommand.inc index afb74b2..76fe9c8 100644 --- a/src/custom/atcommand.inc +++ b/src/custom/atcommand.inc @@ -17,3 +17,25 @@ // clif_specialeffect(&sd->bl, 343, AREA); // return 0; //} + +ACMD_FUNC(bst) { + struct map_session_data *pl_sd; + struct s_mapiterator* iter; + char aaa[255]; + nullpo_retr(-1, sd); + if ( !message || !*message ) { + clif_displaymessage(fd, "Please, enter a message (usage: @bst <message>)."); + return -1; + } + if ( sd->bst_delay + 60 > (int)time(NULL) ) { + clif_displaymessage(fd, "There is a 60 seconds delay of using this command again"); + return 0; + } + sprintf( aaa, "[Market] %s : %s", sd->status.name, message ); + intif_broadcast(aaa, strlen(aaa), 0); //broadcasting to all mapserv and all players + sd->bst_delay = (int)time(NULL); + return 0; +} \ No newline at end of file diff --git a/src/custom/atcommand_def.inc b/src/custom/atcommand_def.inc index 300944c..c739f71 100644 --- a/src/custom/atcommand_def.inc +++ b/src/custom/atcommand_def.inc @@ -9,3 +9,5 @@ **/ //ACMD_DEF(newcommand), + +ACMD_DEF(bst), \ No newline at end of file diff --git a/src/map/pc.h b/src/map/pc.h index 12b36dd..bcf4dd9 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -580,6 +580,7 @@ struct map_session_data { int16 icon; int tid; } bonus_script[MAX_PC_BONUS_SCRIPT]; + int bst_delay; }; enum weapon_type {
  14. hmm there a little typo here. as usable item this one will be deleted once you double click on it then runscript. With this you trying to redelete a deadbranch when we are in a valid map, which could fail (if we only have 1 item qty in inventory). and the else part will also make you lose an item. A workarround will be to have a getitem in the else part, so when it's not usable you lose the item but gain another... or another way to do it will be to use mapflag nobranch and only allow your map. OnInterInit: foreach(.@map$){ if(.@map$ != "myallowed mapname" ) setmapflag..; }
  15. @clydelion, ok I just looked this diff and you have 2 major typo : - clif_colormes(sd,COLOR_RED,e_msg); + clif_colormes(sd,color_table[color_RED],e_msg); This was change since channel implementation since they where using a different color table. - if( skill_db[skill_id].mapdeny[m].deny_flag ){ + uint16 idx = skill_get_index(skill_id); + if( skill_db[idx].mapdeny[m].deny_flag ){ The array doesn't have 8K+ index like this would have be the case if idx == skill_id, In this array the skill are added without the id gap to minimize his size. (but you did the assigment right when reading he db). Nb: That functionality is quite the same as db/skill_nocast_db.txt without the need of defining some zone.
  16. Hey please add Perl, and Bash for me, and maybe Makefile (cause we're using those too) nb : On your exemple we can see that .@menu$ point to function menu, this is wrong on wiki, as in this case it's only a variable name. (regex should onle be preceded by ' '+|.|,|( (space, + , . (for string concatenation), coma or parenthese(as arg on function)) else it's prety much a variable or you could say is a variable if preceded by (/#|.|.@|$|$@|@)
  17. I just added the file that could be overwritten, should be all db actually but feel free to do send me add a note if a file is missing or unread.
  18. Peopleperson49, All those are currently available for import : db/import/re/item_combo_db db/import/re/item_delay db/import/re/item_noequip db/import/re/item_trade db/import/re/skill_cast_db db/import/re/skill_castnodex_db db/import/re/skill_db db/import/re/skill_nocast_db db/import/re/skill_require_db db/import/re/skill_unit_db But in import folder you don't need to keep the re or pre-re directory as you only want to overwritte them, or you may want to keep it for irk what reason but then that up to you to edit the src for so. (cause we could have ton of specific subdir and such) Now some db ain't available in import/ dir yet but that will be changed soon enough. I'll do the list of available db taht could be overwritten.
  19. Idk your arrow but the number may not match due to the watk atk calculation, I mean they may not display as much as we do, cause I remenber displaying everything to debug some bonus on status_calc_watk....
  20. do you have a coredump for us ? I think that was du to the hessage being display in that case or idk.
  21. Missing 1 SP in last pic !!! Since the bonus calculation was changed it will be nice to see if that match as well. Cause before we might be off since we was adding linear and multiplicative bonus without order.
  22. well does the script you're using to launch your server is into the trunk folder or outside ? Did you try running it with ./athena-start start ?
  23. The issue was caused by AzuraHosting, those having the same issue need to update /root/RO_login /root/RO_char /root/RO_map and change map-server_sql to map-server, (strip the _sql on each file as it been around 2month that was being changed)
  24. well then come in IRC I'll connect with teamviewer and see the issue right away, If it's something everyuser could have I,ll push the fix right away in the repo. "Through VNC I have the option to recompile and start server on the desktop" => those look more like your hoster then US givin those file, so the link might be broken. When you trying launching the serv trough : open a terminal cd /your-server-path ./athena-start start was that working ?
  25. We can't fix it without being able to reproduce, see the issue or have more info. Right now the only info we have is dialogue doesn't pop, there never had been dialogue maybe some message but you can hardly call that a dialogue if you can't anwser and I doubt you had the option : // Console Commands // Allow for console commands to be used on/off // This prevents usage of >& log.file console: off in conf/map_athena.conf or did you ? Now what OS are you trying to run that to ? nb : there no git 11810 and now git 11812, those are svn version number "I click start server" ?? what that button "when I start the server it immediatly crashes" If that so you'd at least have an error message for us So sorry but I can't do anything without more info
×
×
  • Create New...