Jump to content
Eternal Lands Official Forums

Malaclypse

Members
  • Content count

    371
  • Joined

  • Last visited

Everything posted by Malaclypse

  1. Duel feature implementation

    I'm too for the second option. We should deny fighting on all of IP imho, as well as in the underworld.
  2. Cleaning up the code

    Hehe Grum, I didn't worry about this, as I was thinking like you, in that it need to be done sooner or later. Just want to inform you other guys that it has happened (although unintended ) ---------- First part, covering macros is done: Makros ------ Some macros are not used globally but only in the C file that corresponds to the headers where they are declared. I moved such macros to the corresponding .c files. 2d_objects.h: INVALID, GROUND, PLANT, FENCE -> 2d_objects.c buddy.h: MAX_BUDDY -> buddy.c chat.h: CHAT_WIN_TEXT_WIDTH, CHAT_WIN_TEXT_HEIGHT, CHAT_WIN_SCROLL_WIDTH -> chat.c e3d.h: MAX_E3D_CACHE -> unused, commented elwindows.h: SCREEN -> unused, commented hud.h: WALK, SIT, LOOK, TRADE, ATTACK, USE -> unused, commented init.h: CFG_VERSION, DATA_DIR -> init.c particles.h: TELEPORTER_PARTICLE_SYS, TELEPORT_PARTICLE_SYS, BAG_PARTICLE_SYS, BURST_PARTICLE_SYS, FIRE_PARTICLE_SYS, FOUNTAIN_PARTICLE_SYS -> particles.c PARTICLE_RANDOM(), PARTICLE_RANDOM2() -> particles.c LOCK_PARTICLES_LIST(), UNLOCK_PARTICLES_LIST() -> particles.c sound.h: MAX_BUFFERS, MAX_SOURCES, BUFFER_SIZE, SLEEP_TIME -> sound.c LOCK_SOUND_LIST(), UNLOCK_SOUND_LIST() -> sound.c translate.h: GROUP, DIGROUP, STAT_GROUP -> translate.c weather.h: RAIN_DROP_SPEED, RAIN_DROP_LEN -> weather.c widgets.h: LABEL, IMAGE, CHECKBOX, BUTTON, PROGRESSBAR, VSCROLLBAR, TABCOLLECTION -> widgets.c Any of these macros that should not be moved to the implementation file? Next, I will check all the variables and after this, the functions. I will also commit the changes individually, that is for macros, vars and funcs, there will be separate commit. I'm going to commit the above changes tomorrow if there are no points against it.
  3. Encyclopedia Work

    I'm not for converting them to html. Instead I would propose to make them 'real' XML files (that is don't mix data and layout as it is done currently), which can easily be viewed in-game as well as with browsers (we only need to provide a xslt script to perform the transformation to html/pdf/postscript/rtf/tex whatever textbased format you want). Else we would be in need to throw over board the current xml handling in the client and implement a new html handling instead.
  4. Alchemists on Strike!

    Hehe Next, I bet you will be surprised when you take a look at the actual price list for rings in shop :lol:
  5. Alchemists on Strike!

    The prices are ok if you are self-sufficient. But if you play your roles you should have to buy the resources. Now think of increased essence and bar prices and it will become really bad. Together with 7-15 sec for crafting each ring/med and 5-10 sec to polish a gem (which have an incredibly high fail rate compared f.e. to bars, especially diamonds) and even 3-5 sec for gold/silver rings/meds, 150-200 is way too less. Additionally polishing a gem costs 10/30gc fixed each, for the gem sander(s) you need. Celine, who is crafting level 32 has approx. 10-15% fail rate, no matter which item (bars, rings, meds, manu items) but with polishing this increases to 20-30%. The prices are great for buyers but if crafting is your business, the prices are really bad, imho.
  6. Cleaning up the code

    I commited the changes related to the macros (excluding client_server.h) This also commited the commenting of the SDL_opengl.h in frustum.c and particles.c by mistake. But as they seem to work, I don't change it back and recommit for now. I can do this if any error regarding this file occurs. But as it looks, it seems to work. I'm sorry for this.
  7. C or C++ HELP!

    I still can recommend Stroustrup's standard C++ book (The C++ Programming Language), even it is quite theoretical (it covers the complete syntax and semantics of c++) it also has lots of examples useful for learning. I too can't recommend any of the dummy book series. From my experience they tend to confuse more, than they help in learning.
  8. Alchemists on Strike!

    The same is true for nearly any other producing skill. Potionmaker need to harvest flowers and crystals, crafter need to harvest gems. Only manufacturers don't need to harvest anything. So this strike should include potion and crafting skills as well, imho. That's why I said from a role-playing point of view, you can't include harvesting and therefore should not argue with bad working conditions. I agree that there is need of some change to the economy, but imho this is not the way to establish a change. If the goal is reached, and alchemists get more money for their items (whether essences or bars), this union will enforce the other trades to even become more self-sufficient as it is now, instead of playing their role and buy the resources they need from the alchemists. Currently a crafter can imho not buy the ingredients (inside a guild maybe, but not in general) because it's already too expensive and they can't earn any money for the prices that go for jewelry if they are in need to buy the items. For those reasons I decided to refuse further support to this union. I think it's no solution to the current market situation.
  9. A Question for Roja

    Well Placid, I'm a bit paranoid He could for example store IP addresses, with which I could not agree. It's no general problem with someone maintaining such a DB, but as I am involved in it (data related to me get's stored) I would be happy to know who stores what about me.
  10. storage bug

    It depends on much, your connection speed, how much ppl are online and how many are at the same storage during the time you are also there, the general traffic to the ISP that hosts the game, etc. If you continously try to get more 'reply packets' as you called it, you can eventually be accused of trying to hack the server, so imho let it be. Like I said, be a bit more patient. The server isn't running on your LAN. Depending where you live, the data has to go half around the world. And it's normal that there are sometimes lags.
  11. A Question for Roja

    An educated guess, about how long someone didn't play? It's a bit strange, don't you think so? May I ask what data is being stored in this DB?
  12. Linux poll

    They created internet Neither M$ nor Apple created the internet. The internet came out of the arpanet, which was created in 1969(?) maybe a few years earlier. At this time, neither ms nor apple did even exists. The reason why they are top of market is imho their aggressive distribution of windows with new computers. It's really hard to get a (complete) new pc without windows. I remember when I bought the computer before the one I am now using. It was in 1997 and I would have to pay 100$ extra if I don't(!) want the pre-installed windows that came with the machine If it wouldn't be pre-installed since the very first beginning, people would have thought twice if they want to pay some extra hundred dollars for their operating system or better choose a cheaper one.
  13. can't use an item

    I didn't encountered it today, but the day before yesterday I had this several times (the clock issue, not the eating one). And the client I used there was compiled with -DWINDOW_CHAT, but the chat window was not enabled in el.ini.
  14. storage bug

    This sounds to me, like you were to impatient. If there are much people at raven, it sometimes takes a bit, before the items finally go into your inventory. So your described behaviour is correct, as you have withdrawn 2 times, each time 2 gloves which AFAIK is together 4. Just try to wait a bit longer. I made the experience that it can take up to a few seconds sometimes until you get the items.
  15. Radeon flashing

    This seems a map bug to me, not card or rendering problem. I have the same flickering with this desk using a geforce3. Imho it's a problem with the heightmap.
  16. Normalizing the root window

    The bug related to several keypresses (esp. TAB/F1) I reported in this thread has gone :/ At least I cannot reproduce it. Maybe it was only introduced intermediary while you were working on it. Thanks Grum for this excellent work
  17. Cleaning up the code

    Ok, so I will undo the changes to client_serv.h and commit the other changes sometime tomorrow. Thanks to all for your feedback so far on this, especially for the windows compilation thingy.
  18. can't use an item

    I also have this from time to time. It seems like a double click is done from time to time instead of a single click. I also have this some times with clock. Clicking on the clock will show the time two times, instead of only one. The same if you eat with using the quickbar. I never had this while eating directly from inventory.
  19. Cleaning up the code

    These are the changes I made to the macros: 2d_object.h: __obj_2d_H__ -> __OBJ_2D_H__ max_obj_2d -> MAX_OBJ_2D max_obj_2d_def -> MAX_OBJ_2D_DEF invalid -> INVALID ground -> GROUND plant -> PLANT fence -> FENCE sector_size_x -> SECTOR_SIZE_X sector_size_y -> SECTOR_SIZE_Y 3d_object.h: __obj_3d_H__ -> __OBJ_3D_H__ actors.h: __actors_H__ -> __ACTORS_H__ max_current_displayed_text_len -> MAX_CURRENT_DISPLAYED_TEXT_LEN lock_actors_lists() -> LOCK_ACTORS_LISTS() unlock_actors_lists() -> UNLOCK_ACTORS_LISTS() actors.c: ms_per_char -> MS_PER_CHAR mini_bubble_ms -> MINI_BUBBLE_MS asc.h: my_xmlStrcpy() -> MY_XMLSTRCPY() cache.h: __file_cache_H__ -> __FILE_CACHE_H__ e3d.h: max_obj_3d -> MAX_OBJ_3D max_e3d_cache -> MAX_E3D_CACHE errors.h: LogError() -> LOG_ERROR() filter.h: max_filters -> MAX_FILTERS font.h: draw_ingame_normal() -> DRAW_INGAME_NORMAL() draw_ingame_small() -> DRAW_INGAME_SMALL() draw_ingame_alt() -> DRAW_INGAME_ALT() gl_init.h: check_gl_errors() -> CHECK_GL_ERRORS() ignore.h: max_ignores -> MAX_IGNORES interface.h: action_walk -> ACTION_WALK action_look -> ACTION_LOOK action_use -> ACTION_USE action_use_witem -> ACTION_USE_WITEM action_trade -> ACTION_TRADE action_attack -> ACTION_ATTACK interface_game -> INTERFACE_GAME interface_log_in -> INTERFACE_LOG_IN interface_new_char -> INTERFACE_NEW_CHAR interface_console -> INTERFACE_CONSOLE interface_opening -> INTERFACE_OPENING interface_map -> INTERFACE_MAP interface_cont -> INTERFACE_CONT interface_rules -> INTERFACE_RULES lights.h: global_lights_no -> GLOBAL_LIGHTS_NO max_lights -> MAX_LIGHTS md2.h: __file_md2_H__ -> __FILE_MD2_H__ new_character.c: race_human -> RACE_HUMAN race_elf -> RACE_ELF race_dwarf -> RACE_DWARF race_gnome -> RACE_GNOME race_orchan -> RACE_ORCHAN race_draegoni -> RACE_DRAEGONI particles.h: __particles_H__ -> __PARTICLES_H__ max_particle_systems -> MAX_PARTICLE_SYSTEMS max_particles -> MAX_PARTICLES particle_random() -> PARTICLE_RANDOM() particle_random2() -> PARTICLE_RANDOM2() lock_particles_list() -> LOCK_PARTICLES_LIST() unlock_particles_list() -> UNLOCK_PARTICLES_LIST() particles.c: max_particle_defs -> MAX_PARTICLE_DEFS reflection.h: is_water_tile() -> IS_WATER_TILE() is_reflecting() -> IS_REFLECTING() reflection.c: scale_factor -> SCALE_FACTOR sector.h: sector_get() -> SECTOR_GET() sound.h: max_buffers -> MAX_BUFFERS max_sources -> MAX_SOURCES lock_sound_list() -> LOCK_SOUND_LIST() unlock_sound_list() -> UNLOCK_SOUND_LIST() text.h: max_display_text_buffer_lenght -> MAX_DISPLAY_TEXT_BUFFER_LENGTH log_to_console() -> LOG_TO_CONSOLE() text.c: allowedCharInName() -> ALLOWED_CHAR_IN_NAME() weather.h: rain_drop_len -> RAIN_DROP_LEN Does anybody see any objections to this? If not, I will commit these changes during tomorrow. <edit>Removed the changes from client_serv.h</edit>
  20. Hey Check This out

    It was only necessary to read the first few paragraphs of the terms, to be sure this site is BS. You're already a member, Caliph? I wish you luck. You have no possibility to ever cancel your account.
  21. Is your son a computer hacker?!

    I am just wondering how many parents might take this serious
  22. ELC doesn't create elc.ini anymore

    Do you still have the eternal-lands package installed? If so, move the default el.ini from /usr/share/games/eternal-lands/el.ini to your ~/.elc directory and edit it accordingly <edit>I forgot, there's also an el.ini in the cvs sources. You can use this one instead of the default one.</edit>
  23. C semantics question

    I've got a question regarding C semantics. The use of extern for both variables and functions is quite inconsistent in the code. From many frameworks and applications I saw, I know that it's use is mandatory for libraries but not for applications, as they generally don't really export much, but imho it's considered good style to also use it with apps. So my question? Can someone post a short comment on this topic? Does it make sense to use or not use this modifier in the clients source? Reason is, I'm currently in the cleanup of the code (see my other thread in programming forum about this topic) and was thinking of adding the extern modifiers where they are missing. Thanks in advance
  24. C semantics question

    Ok, the way Cicero told, is also the way I did understand this. Thanks Wytter for the info about functions
  25. Cleaning up the code

    Ok, so I will change all the macros to be all upper case Anybody already tried to compile and run without the two #include statements? Any experience? I need response on windows based systems, as I don't have the possibility to compile and run on this.
×