-
Posts
67 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by FatalEror
-
-
-
-
-
I've extracted it with 7-Zip, and got no error...
And btw, it's 2011-03-15aRagexeRE
-
Copy that luac5.0.2.exe in your "Lua Files" folder
Create a batch file(eg:convert.bat)
Copy paste this to convert.bat and save it...
@echo off for /f "usebackq tokens=*" %%a in (`dir /b/s/a:d`) do ( for %%l in (%%~nxa\*.lua) do ( luac5.0.2 -o %%~nxa\%%~nl.lub %%l ) ) for %%l in (*.lua) do ( luac5.0.2 -o %%~nl.lub %%l ) pause
Run convert.bat
- 2
-
// The equipment/items/cards restriction file // here you define which items may not be used at PvP / GvG // format: <item id>,<mode> // mode // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7
// 2 - restricted in PVP // 4 - restricted in GVG
So it should be:
ItemID, 6
-
Long Attack Resist:
sd->long_attack_def_rate = val; // 100 = 100%
;
Stun Resist:
sd->reseff[sC_STUN] = val; // 10000 = 100%
-
I think this is the problem:
sprintf(temp,"You sold the goods for %dz.", (int)z);
-
My bad...
Add this line in ..db/const.txt below bHealPower2
breakhplimit 1100
And apply this patch:
-
Just search this line in status.c
if( status->max_hp > (unsigned int)battle_config.max_hp )
change into:
if( status->max_hp > (unsigned int)battle_config.max_hp && !pc_readglobalreg(sd, "breakhplimit") )
max_hp type is unsigned int, so it should support max hp until 4294967295...
-
Index: atcommand.c =================================================================== --- atcommand.c (revision 14998) +++ atcommand.c (working copy) @@ -47,6 +47,7 @@ // extern variables char atcommand_symbol = '@'; // first char of the commands +char atcommand_string[] = "cmd"; char charcommand_symbol = '#'; char* msg_table[MAX_MSG]; // Server messages (0-499 reserved for GM commands, 500-999 reserved for others) @@ -8948,7 +8949,7 @@ message += 3; //Should display as a normal message - if ( *message != atcommand_symbol && *message != charcommand_symbol ) + if ( *message != atcommand_symbol && *message != charcommand_symbol && (strncmp(message, atcommand_string, strlen(atcommand_string)) != 0 || message[strlen(atcommand_string)] != ' ')) return false; // type value 0 = server invoked: bypass restrictions @@ -9012,6 +9013,12 @@ //pass through the rest of the code compatible with both symbols sprintf(atcmd_msg, "%s", message); } + + if (strncmp(message, atcommand_string, strlen(atcommand_string)) == 0) { + sprintf(atcmd_msg, "%s", message); + memmove(atcmd_msg, atcmd_msg+strlen(atcommand_string), strlen(atcmd_msg)); + atcmd_msg[0] = atcommand_symbol; + } //Clearing these to be used once more. memset(command, '\0', sizeof(command));
Broadcast depending on GM level
in Source Support
Posted
Here:
And yeah, stop bumping like that