To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Just a question  (Read 2037 times)

0 Members and 1 Guest are viewing this topic.


« on: 27, September 2018, 06:00:00 »
I noticed that there is a penalty of the drop for those who are above the enemy level. Can I know why ?


« Reply #1 on: 27, September 2018, 23:15:20 »
The drop penalty should only occur if the player is significantly above the mob's level (the mob name appears gray to the player). I think the original reasoning behind this was to discourage high-level players from farming low-level areas since they'll be able to clear out dungeons with ease, preventing lower-level players from fighting there.
-- _people_ :)


« Reply #2 on: 29, September 2018, 21:29:23 »
I understand, even though I've never seen anything like this on WoW or any MMORPG I've ever played. How can I delete this feature? I have my private server and I play with some friends. Precisely which file should I modify?


« Reply #3 on: 01, October 2018, 22:41:19 »
You'll need to recompile your server code.

I believe the lines in question are in server/src/server/aggro.c line 793-795. If you delete or comment out those lines and then recompile the server you should be able to get drops regardless of level difference. I haven't tested this, though.

If you need help recompiling your server let me know.
-- _people_ :)


« Reply #4 on: 28, October 2018, 18:45:05 »
i got this error , _people_

||=== Build: Release in daimonin_server (compiler: GNU GCC Compiler) ===|
C:\Users\UlfricStormcloak\Downloads\daimonin-code-r8191-trunk(1)\daimonin-code-r8191-trunk\server\src\server\hashfunc.c||In function 'int64_hash':|
C:\Users\UlfricStormcloak\Downloads\daimonin-code-r8191-trunk(1)\daimonin-code-r8191-trunk\server\src\server\hashfunc.c|357|warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]|
.\Release\src\server\monster.o:monster.c|| undefined reference to `ai_obj_can_move'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 1 warning(s) (0 minute(s), 22 second(s)) ===|


« Reply #5 on: 28, October 2018, 19:26:29 »
In server/src/server/monster.c on line 627, change:

Code: [Select]
inline int ai_obj_can_move(object_t *obj)

Code: [Select]
static inline int ai_obj_can_move(object_t *obj)
Problem here is that C99 changes how inline functions work. As compilers these days change, C99 becomes the default. I'll update that in the SVN.

Similarly in the client, in dialog.c line 584, you'll have to add "static" in front of "inline void optwin_draw_options()".
-- _people_ :)


« Reply #6 on: 04, November 2018, 13:24:17 »
I'm sorry to bother you again, but I have another problem (and maybe after someone else?)


« Reply #7 on: 05, November 2018, 23:43:02 »
You'll need to collect arches first. In project_tools/bash_scripts you'll find a file

Run that, with the first arg being the path to your "arch" folder and the second arg being the path to your server/lib folder. So something like:

Code: [Select]
sh project_tools/bash_scripts/ arch server/lib
If you downloaded the mapmaker you can also run "editor/DaimoninEditor.jar -c". It accomplishes the same thing, but IIRC using the mapmaker is faster (though probably not faster if you have to download it).
-- _people_ :)


Related Topics

  Subject / Started by Replies Last post
13 Replies
Last post 30, August 2005, 23:34:13
by Future
13 Replies
Last post 10, December 2005, 20:40:19
by longir
12 Replies
Last post 23, July 2007, 01:32:24
by kardinel
6 Replies
Last post 13, August 2008, 15:33:56
by hackedd
3 Replies
Last post 03, March 2012, 03:54:07
by _etzio