ultramage
|
144afd8189
Cleaned up mob_once_spawn() and mob_once_spawn_area().
|
17 jaren geleden |
ultramage
|
65834585a8
Modified showmsg code to not attach a timestamp to MSG_NONE-type messages, generated by ShowMessage(). It now works exactly like printf().
|
17 jaren geleden |
ultramage
|
e7bb626a80
Modified the map_setcell() code to to use a boolean flag instead of needing SET_ / CLR_ pairs of defines (topic:174323).
|
17 jaren geleden |
ultramage
|
ca115ffc82
Removed map_data's block_count, as (quote Yor/ja2160), "Perhaps useful for debug, but uses memory AND CPU for nothing." (block lists are linked lists, they don't need count tracking)
|
17 jaren geleden |
FlavioJS
|
b465fb5f30
* Fixed get_val2 not using the stack, which automatically frees the data, causing memory leaks for string variables since r11976. (bugreport:723 , part of bugreport:714 and part of bugreport:708)
|
17 jaren geleden |
FlavioJS
|
b6c11a8282
* Corrected description of scope and npc variables in script_commands.txt.
|
17 jaren geleden |
ultramage
|
7906017662
Moved distance-related functions to path.c/h
|
17 jaren geleden |
FlavioJS
|
214feac880
* Fixed string variables dereferencing directly to the value instead of dereferencing to a copy of the value. (fixes bugreport:684 bugreport:641)
|
17 jaren geleden |
ultramage
|
1e6922174e
Guardian hp handling code removal (see bugreport:342)
|
17 jaren geleden |
FlavioJS
|
9bfc5b4425
* Fixed possible segmentation faults in the script engine.
|
17 jaren geleden |
skotlex
|
9d353fba9b
- Added query_logsql script command to perform sql commands using the log db connection.
|
17 jaren geleden |
FlavioJS
|
43ac1fd8ad
ooops, two errors escaped... >.<
|
17 jaren geleden |
FlavioJS
|
1d827807ae
* Removed the attempts to recover from invalid syntax in npc_parsesrcfile since they can produce incorrect results (spaces in sscanf can match \n's and company).
|
17 jaren geleden |
skotlex
|
fc7b4eaef0
- The default event script behaviour is to trigger on labels rather than NPCs now.
|
17 jaren geleden |
ultramage
|
ea5212c5a8
* TXT/SQL login server code synchronization
|
17 jaren geleden |
skotlex
|
f98611b450
- Cleaned some more the sc_end check so it is more generic and not so limited just to infinite endure.
|
17 jaren geleden |
skotlex
|
9a56a88f4a
- Corrected the online_data_cleanup routine setting offline characters that are still connected to the char-server.
|
17 jaren geleden |
FlavioJS
|
83fb3336e7
* Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr, wrongly processing all %f,%d,... (fixes bureport:218)
|
17 jaren geleden |
ultramage
|
128efc8d50
Fixed some old mistakes in npc shop code causing misinterpretation of the number of function parameters (bugreport:404)
|
17 jaren geleden |
FlavioJS
|
69be534c6f
* Moved the reset of references to after the empty script checks in parse_script. (fixes bugreport:222 and bugreport:449)
|
17 jaren geleden |
FlavioJS
|
508ffb82d9
* Renamed fakenpcname to setnpcdisplay, fixed and extended it.
|
17 jaren geleden |
skotlex
|
6840bb28ab
- Moved subtype from struct block_list to struct npc_data.
|
17 jaren geleden |
ultramage
|
9ea5b9c76c
* Replaced jA's way of allocating npc shop data with a simple dynamic array that gets allocated during loading and freed on unload
|
17 jaren geleden |
ultramage
|
42746f05f9
Fixed npc_debug_warps() not identifying x:0,y:0 as valid (random) coordinates
|
17 jaren geleden |
ultramage
|
560005b13e
Removed battle_config.error_log as console_silent already handles this
|
17 jaren geleden |
ultramage
|
2d71189702
Added error reporting to buildin_warp when it fails.
|
17 jaren geleden |
ultramage
|
a5b2c3b30c
Applied Rayce's improvements to the npc script parser (see bugreport:387 for details).
|
17 jaren geleden |
ultramage
|
3b742b114e
Fixed some more gcc incompatibilities...
|
17 jaren geleden |
ultramage
|
5eda6c0e57
Replaced several 'int' variables with enums that they represent.
|
17 jaren geleden |
FlavioJS
|
9d2688ad87
* Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include.
|
17 jaren geleden |