* extended the "npc_event: event queue is full" error message to also print the name of the event (so that the cause can be tracked down)
* removed a strange (and undocumented) event name check for "GM_MONSTER" in the npc event execution code * added effects from recent sakexes to effects list * removed ladmin from vs8 sql builds * added int_auction.c/.h to vs6 and vs7 project files * some small cleanups git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12362 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
b8cf860055
commit
8b00f6dbdd
@ -3,7 +3,7 @@
|
|||||||
//===== By ================================================
|
//===== By ================================================
|
||||||
//= Valaris, Spira, Au{R}oN, Tharis, HiddenDragon
|
//= Valaris, Spira, Au{R}oN, Tharis, HiddenDragon
|
||||||
//===== Version ===========================================
|
//===== Version ===========================================
|
||||||
//= 1.5
|
//= 1.6
|
||||||
//=========================================================
|
//=========================================================
|
||||||
//= 1.0 - Formatted to the standard
|
//= 1.0 - Formatted to the standard
|
||||||
//= 1.1 - New Effects, up to 2007/05/07 Sakexe [Au{R}oN]
|
//= 1.1 - New Effects, up to 2007/05/07 Sakexe [Au{R}oN]
|
||||||
@ -11,6 +11,7 @@
|
|||||||
//= 1.3 - New Effects, up to 2007/08/01 Sakexe [Au{R}oN]
|
//= 1.3 - New Effects, up to 2007/08/01 Sakexe [Au{R}oN]
|
||||||
//= 1.4 - New Effects, up to 2007/09/11 Sakexe [Au{R}oN]
|
//= 1.4 - New Effects, up to 2007/09/11 Sakexe [Au{R}oN]
|
||||||
//= 1.5 - New Effects, up to 2007/10/02 Sakexe [Au{R}oN]
|
//= 1.5 - New Effects, up to 2007/10/02 Sakexe [Au{R}oN]
|
||||||
|
//= 1.6 - New Effects, up to 2008/01/02 Sakexe [Au{R}oN]
|
||||||
//===== Description =======================================
|
//===== Description =======================================
|
||||||
//= A list of client-side effects sorted by their ID
|
//= A list of client-side effects sorted by their ID
|
||||||
//=========================================================
|
//=========================================================
|
||||||
@ -719,4 +720,5 @@ number description
|
|||||||
693. The Sun.
|
693. The Sun.
|
||||||
694. The Semi-Green Sun
|
694. The Semi-Green Sun
|
||||||
695. Something Like Green DiscoDance Light.
|
695. Something Like Green DiscoDance Light.
|
||||||
696+. No More Effects From 2007/10/02 Sakexe
|
696. The same of 690 and 691 but Blue/Purple.
|
||||||
|
697+. No More Effects From 2008/01/22 Sakexe
|
||||||
|
@ -105,13 +105,11 @@ Global
|
|||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-sql|Win32.ActiveCfg = Debug|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-sql|Win32.ActiveCfg = Debug|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-sql|Win32.Build.0 = Debug|Win32
|
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-txt|Win32.ActiveCfg = Debug|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-txt|Win32.ActiveCfg = Debug|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-txt|Win32.Build.0 = Debug|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Debug-txt|Win32.Build.0 = Debug|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Release|Win32.Build.0 = Release|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Release|Win32.Build.0 = Release|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-sql|Win32.ActiveCfg = Release|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-sql|Win32.ActiveCfg = Release|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-sql|Win32.Build.0 = Release|Win32
|
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-txt|Win32.ActiveCfg = Release|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-txt|Win32.ActiveCfg = Release|Win32
|
||||||
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-txt|Win32.Build.0 = Release|Win32
|
{D356871D-58E1-450B-967A-E8E9646175AF}.Release-txt|Win32.Build.0 = Release|Win32
|
||||||
{D356871D-58E1-450B-967A-E9E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
|
{D356871D-58E1-450B-967A-E9E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// This is set to limit the search result
|
|
||||||
// On iRO, no one uses auctions, so there is no way to know
|
|
||||||
static DBMap* auction_db_ = NULL; // int auction_id -> struct auction_data*
|
static DBMap* auction_db_ = NULL; // int auction_id -> struct auction_data*
|
||||||
|
|
||||||
void auction_delete(struct auction_data *auction);
|
void auction_delete(struct auction_data *auction);
|
||||||
|
@ -640,7 +640,7 @@ int npc_event_sub(struct map_session_data* sd, struct event_data* ev, const char
|
|||||||
if( i < MAX_EVENTQUEUE )
|
if( i < MAX_EVENTQUEUE )
|
||||||
safestrncpy(sd->eventqueue[i],eventname,50); //Event enqueued.
|
safestrncpy(sd->eventqueue[i],eventname,50); //Event enqueued.
|
||||||
else
|
else
|
||||||
ShowWarning("npc_event: event queue is full !\n");
|
ShowWarning("npc_event: player's event queue is full, can't add event '%s' !\n", eventname);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -678,7 +678,6 @@ int npc_event(struct map_session_data* sd, const char* eventname, int mob_kill)
|
|||||||
strcat( mobevent, "::OnMyMobDead");
|
strcat( mobevent, "::OnMyMobDead");
|
||||||
ev = strdb_get(ev_db, mobevent);
|
ev = strdb_get(ev_db, mobevent);
|
||||||
if (ev == NULL || (nd = ev->nd) == NULL) {
|
if (ev == NULL || (nd = ev->nd) == NULL) {
|
||||||
if (strnicmp(eventname, "GM_MONSTER",10) != 0)
|
|
||||||
ShowError("npc_event: (mob_kill) event not found [%s]\n", mobevent);
|
ShowError("npc_event: (mob_kill) event not found [%s]\n", mobevent);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -3432,9 +3432,8 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
m=map_mapindex2mapid(mapindex);
|
sd->state.changemap = (sd->mapindex != mapindex);
|
||||||
|
if( sd->state.changemap )
|
||||||
if( (sd->state.changemap = (sd->mapindex != mapindex)) )
|
|
||||||
{ //Misc map-changing settings
|
{ //Misc map-changing settings
|
||||||
if (sd->sc.count)
|
if (sd->sc.count)
|
||||||
{ //Cancel some map related stuff.
|
{ //Cancel some map related stuff.
|
||||||
@ -3463,6 +3462,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
|
|||||||
sd->regen.state.gc = 0;
|
sd->regen.state.gc = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m=map_mapindex2mapid(mapindex);
|
||||||
if(m<0) {
|
if(m<0) {
|
||||||
uint32 ip;
|
uint32 ip;
|
||||||
uint16 port;
|
uint16 port;
|
||||||
|
@ -195,6 +195,14 @@ SOURCE=..\src\char_sql\char.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\src\char_sql\int_auction.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\src\char_sql\int_auction.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\src\char_sql\int_guild.c
|
SOURCE=..\src\char_sql\int_guild.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="..\src\char_sql\char.h">
|
RelativePath="..\src\char_sql\char.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\char_sql\int_auction.c">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\char_sql\int_auction.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\char_sql\int_guild.c">
|
RelativePath="..\src\char_sql\int_guild.c">
|
||||||
</File>
|
</File>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user