-
Posts
573 -
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 SlashGeeGee
-
-
my sysctl.conf :
# Controls whether core dumps will append the PID to the core filename # Useful for debugging multi-threaded applications kernel.core_uses_pid = 1
yep i check , no errors in console and such . very weird
-
Hello rA
map map-server auto closes from time to time but there is no console error
Added Source Mods :
• Extended Vending System 1.8.1 by Lilith
• MVP Tomb by malufett
• atmaintenance command from here : http://rathena.org/board/topic/59786-solved-maintenance-command/
and i tried enabling core dumps but it says
/eathena/map-server_sql.core: No such file or directory.
here's what i did
cd eathena
then
./configure --enable-debug=gdb
this pops out :
checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether byte ordering is bigendian... no checking whether pointers can be stored in ints (old code)... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc supports -Wno-pointer-sign... yes checking whether gcc can actually use -Wno-pointer-sign... yes checking whether gcc supports -Wno-switch... yes checking whether gcc supports -fPIC... yes checking whether gcc needs -fPIC for shared objects... no checking whether gcc supports -fno-strict-aliasing... yes checking for setrlimit... yes checking for strnlen... yes checking for uselocale... yes checking for newlocale... yes checking for freelocale... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for library containing sqrt... -lm checking for library containing clock_gettime... -lrt checking whether CLOCK_MONOTONIC is supported and works... yes checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... yes checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking MySQL library (required)... yes (5.0.77) checking for pcre_study in -lpcre... yes checking PCRE library (optional)... yes checking host OS... Linux checking for MinGW... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/common/Makefile config.status: creating 3rdparty/mt19937ar/Makefile config.status: creating 3rdparty/libconfig/Makefile config.status: creating src/char/Makefile config.status: creating src/login/Makefile config.status: creating src/map/Makefile config.status: creating src/plugins/Makefile config.status: creating src/tool/Makefile
next :
i check my ulimit -c is unlimited
then i tried :
gdb map-server_sql map-server_sql.core
still doesnt save
it says
Reading symbols from /eathena/map-server_sql...done. /eathena/map-server_sql.core: No such file or directory.
Please Help,
SlashGeeGee
-
2099
-
Hello rA
please help me with my item script
12488,Ticket_Gift_Box,Ticket Gift Box,2,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem2 5170,1,1,7,0,0,0,0,0; getitem2 2353,1,1,7,0,0,0,0,0; getitem2 2528,1,1,7,0,0,0,0,0; getitem2 2424,1,1,7,0,0,0,0,0; getitem2 1544,1,1,7,0,0,0,0,0; getitem2 1572,1,1,7,0,0,0,0,0; getitem2 1705,1,1,10,0,0,0,0,0; getitem 2701,2; getitem 2202,1; getitem 2124,1; getitem 2115,1; getitem 1624,1; getitem 13017,1; getitem 1266,1; getitem 14287,5; getitem 14288,5; getitem 13610,2; getitem 13611,2; getitem 675,1; getitem 20001,15; getitem 5808,1; getitem 2375,1; getitem 2374,1; getitem 2537,1; getitem 2433,1; getitem 2729,1; },{},{} 12489,Ticket_Gift_Box2,Ticket Gift Box2,2,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem2 5170,1,1,7,0,0,0,0,0; getitem2 2353,1,1,7,0,0,0,0,0; getitem2 2528,1,1,7,0,0,0,0,0; getitem2 2424,1,1,7,0,0,0,0,0; getitem2 1544,1,1,7,0,0,0,0,0; getitem2 1572,1,1,7,0,0,0,0,0; getitem2 1705,1,1,10,0,0,0,0,0; getitem 2701,2; getitem 2202,1; getitem 2124,1; getitem 2115,1; getitem 1624,1; getitem 13017,1; getitem 1266,1; getitem 14287,5; getitem 14288,5; getitem 13610,2; getitem 13611,2; getitem 675,1; getitem 20001,15; getitem 2357,1; getitem 2524,1; getitem 2421,1; getitem 2115,1; },{},{}
The First Box Opens but only gives + 7 Feather Beret
The Second One doesnt open at all
please help
Thanks,
SlashGeeGee
Solved it's working now !
-
Solved this ! Please Close
-
@Emistry
does getitem2 work on item scripts ?
sample :
getitem2 2404,1,1,7;
bump
-
2091
-
2083
-
Hello rA
I would like to request a NPC that says hello charname would you like some freebies ? ( per account )
if done already the npc say's you got already the server's freebies good luck on your new character .
Freebies :
+7 Buckler ( #2104 )
+7 Mink Coat ( # 2311 )
+7 Shoes ( # 2404 )
2 Orleans Glove ( #2701 )
Angeling Hat ( #5132 )
Thanks
SlashGeeGee
-
i need to renew my server files ? the server's already running
is there any other way ?
what did you use in the packet_db ?
Thanks Judas , GM Takumirai for the Help
i used packet_db ver : 25
Solved Problems
-
i'll post back soon, I'll checkout the latest rA, and use the client you have and see what i get
thanks
btw : im using default in packet_db
-
this is my msgstringtable judas
-
wait
On npc.c add:
/*==========================================
* Cash Shop Buy List
*------------------------------------------*/
int npc_cashshop_buylist(struct map_session_data *sd, int points, int count, unsigned short* item_list)
{
int i, j, nameid, amount, new_, w, vt;
struct npc_data *nd = (struct npc_data *)map_id2bl(sd->npc_shopid);
if( !nd || nd->subtype != CASHSHOP )
return 1;
if( sd->state.trading )
return 4;
new_ = 0;
w = 0;
vt = 0; // Global Value
// Validating Process ----------------------------------------------------
for( i = 0; i < count; i++ )
{
nameid = item_list[i*2+1];
amount = item_list[i*2+0];
if( !itemdb_exists(nameid) || amount <= 0 )
return 5;
ARR_FIND(0,nd->u.shop.count,j,nd->u.shop.shop_item[j].nameid == nameid);
if( j == nd->u.shop.count || nd->u.shop.shop_item[j].value <= 0 )
return 5;
if( !itemdb_isstackable(nameid) && amount > 1 )
{
ShowWarning("Player %s (%d:%d) sent a hexed packet trying to buy %d of nonstackable item %d!n", sd->status.name, sd->status.account_id, sd->status.char_id, amount, nameid);
amount = item_list[i*2+0] = 1;
}
switch( pc_checkadditem(sd,nameid,amount) )
{
case ADDITEM_NEW:
new_++;
break;
case ADDITEM_OVERAMOUNT:
return 3;
}
vt += nd->u.shop.shop_item[j].value * amount;
w += itemdb_weight(nameid) * amount;
}
if( w + sd->weight > sd->max_weight )
return 3;
if( pc_inventoryblank(sd) < new_ )
return 3;
if( points > vt ) points = vt;
// Payment Process ----------------------------------------------------
if( sd->kafraPoints < points || sd->cashPoints < (vt - points) )
return 6;
pc_paycash(sd,vt,points);
// Delivery Process ----------------------------------------------------
for( i = 0; i < count; i++ )
{
struct item item_tmp;
nameid = item_list[i*2+1];
amount = item_list[i*2+0];
memset(&item_tmp,0,sizeof(item_tmp));
if( !pet_create_egg(sd,nameid) )
{
item_tmp.nameid = nameid;
item_tmp.identify = 1;
pc_additem(sd,&item_tmp,amount);
}
if( log_config.enable_logs&0x20 )
log_pick_pc(sd, "S", nameid, amount, NULL);
}
return 0;
}
On npc.h add:
int npc_cashshop_buylist(struct map_session_data *sd, int points, int count, unsigned short* item_list);on clic.c replace with:
void clif_parse_cashshop_buy(int fd, struct map_session_data *sd)
{
int fail = 0;
struct npc_data *nd;
nullpo_retv(sd);
if( sd->state.trading || !sd->npc_shopid )
fail = 1;
else
{
#if PACKETVER < 20101116
short nameid = RFIFOW(fd,2);
short amount = RFIFOW(fd,4);
int points = RFIFOL(fd,6);
fail = npc_cashshop_buy(sd, nameid, amount, points);
#else
int len = RFIFOW(fd,2);
int points = RFIFOL(fd,4);
int count = RFIFOW(fd,8);
unsigned short* item_list = (unsigned short*)RFIFOP(fd,10);
if( len < 10 || len != 10 + count * 4)
{
ShowWarning("Player %u sent incorrect cash shop buy packet (len %u:%u)!n", sd->status.char_id, len, 10 + count * 4);
return;
}
fail = npc_cashshop_buylist(sd,points,count,item_list);
#endif
}
clif_cashshop_ack(sd,fail);
}
And by last, on packet_db.txt
//2010-11-24aRagexeRE
packet_ver: 26
+0x0288,-1,cashshopbuy,4:8
0x0436,19,wanttoconnection,2:6:10:14:18
- copy right: zephyrus_cr
- i don't know if this is going to work but the said fix is for client 2010
compile your server
cd /home/ra
make clean
make all
done~
i searched all the lines in the source and packet_db.txt rA already has it but my client date is 2010-05-11 that is for 2010-11-24 is there anyway to change that to my clients date ?
-
My Cash Shop Scripts :
//-- Cash Shops new_1-2,93,99,4<tab>cashshop<tab>WoE Supplies<tab>1907,14287:100,14288:100 new_1-2,78,101,5<tab>cashshop<tab>Cash Shop Usables<tab>951,12920:100,12921:100,12186:100,13696:100,14158:100,14168:100,13601:100,13500:100,13749:100,13746:50,13755:100,13752:50 new_1-2,121,101,3<tab>cashshop<tab>Cash Shop Items<tab>899,5529:800,5453:500,5495:800,5512:700,5545:700,5569:700,5514:700,5549:700,5325:500,5377:500,13412:1000,13413:1000
-
Hello rA
don't know where to post this so please transfer me if im in the wrong section
when i purchase an item in my cash shop it doesnt get the item and the cash point still remains and my character freezes and nothing to do but alt+f4 to exit
see screenshot :
1st i purchase an item and click buy then ok .
2nd nothing happens
3rd i tried returning the item to the shop and this is what it looks like
SVN : rAthena
Client : 2010-05-11
Badly Needed your Help
~ SlashGeeGee
-
Hello rA
i would like to ask how do i delete files using thor patcher cause im updating my client and i need to delete the old lua files in my current grf .
EDIT : will the lua files be replaced by the patch ones if i patch ? or just merged ?
Thanks,
SlashGeeGee
-
command? or the kafra card to use storage?
if command you can make
map<tab>mapflag<tab>command<tab>level of GM
That exists?
maybe he means
mapname<tab>mapflag<tab>nocommand<tab>groupID
-
2062
-
Hello rA i would to request item scripts of these items :
Demon Mask :
Demon Mask #18540 Attack Speed +1%. Drains 1 SP every 2 seconds. Unable to refine. Special Effect: If equipped with Succubus Horn[0] or Incubus Horn[0], Aspd +1, Attack Speed +9%, drains an additional 3 SP every 2 seconds. Class : Headgear Defense : 3 Location : Middle and Lower Weight : 100 Required Level : 10 Job : All
Skull Cap
Skull Cap - 18539 A driver's cap with a menacing skull on the band. Matk +2% If refined to +5 or higher, adds an additional Matk +3%. If refined to +7 or higher, adds an additional Matk +3%. Special Effect: If equipped in combination with Elven Ears[0], decreases the SP cost of skills by 3%. If equipped in combination with Evil Bone Wand[0], each refine on the weapon adds Matk +10. If the Bone Wand[0] is refined to +10, reduces cast time of skill by 10%. If equipped in combination with Thorn Staff of Darkness[0], each refine on the weapon adds Matk +10. If the Thorn Staff of Darkness[0] is refined to +10, reduces cast time of skills by 10%. Class : Headgear Defense : 5 Location : Upper Weight : 40 Required Level : 10 Job : All
Evil Marching Hat:
Evil Marching Hat - 18522 A dark marching hat worn by members of an undead band from Niffleheim. Str +2. Attack +2% to all monsters. If refined to +7 or higher, Critical +10%. If refined to +9 or higher, the Attack and ranged attack damage increases by 5%. Class : Headgear Location: Upper Defense: 10 Weight : 50 Required Level : 1 Jobs: All
Little Feather Hat :
Little Feather Hat[1] Type: Headgear Position: Upper Defense: 1 Magic Defense: 0 Slot: 1 Weight: 50 Refinable: Yes Breakable: Yes Required Level: 10 Required Job: Available to All Jobs Description: Dex + 2. Critical Damage + 10%. When equipped in combination with ‘Sharp Arrow’, adds an additional Critical Damage + 5%. If Refined to +7 or higher, adds an additional Critical Damage + 5%. Secret Effect: When equipped with the bow Falken Blitz[2], and the Falken Blitz[2] is refined to +10, the cast time of [Focus Arrow Strike] is reduced by 50%.
Lastly Red Marching Hat
Red Marching Hat = 5654 Str + 2. When dealing physical damage, there is a chance to cast the skill [Aspersio] Lv 2.
Thank You Very Much
SlashGeeGee
-
Hi SlashGeeGee!
you need to put only "notice.html"
//notice_file - [Relative Address] //You should able to access this file by combine base_url & notice_file notice_file=http://intelro.webcrewhosting.com/patch/notice.html
//notice_file - [Relative Address] //You should able to access this file by combine base_url & notice_file notice_file=notice.html
hope it helps!
Thanks for your help the notice.html can be seen now but the css doesnt work
-
2049
-
For the notice, in the config.ini file, try using the following values:
base_url=http://intelro.webcrewhosting.com/patch/notice_file=notice.html
Btw, the Thor Patcher you are using isn't the latest.... (http://thor.aeomin.net/)
But for your version, I think this would work (not tested):
buttons=2button1_normal=images/reg1.png
button1_hover=images/reg2.png
button1_down=images/reg3.png
button1_left=197
button1_top=455
button1_mode=0
button1_action=http://intelro.webcrewhosting.com/
button1_parameter=
button2_normal=images/forums1.png
button2_hover=images/forums2.png
button2_down=images/forums3.png
button2_left=353
button2_top=455
button2_mode=0
button2_action=http://intelro.webcrewhosting.com/forums/
button2_parameter=
You can test if it works by running the Config_Packer executable.
Thanks Xantara all my problems solved
my style.css doesnt apply to my notice can someone fix it ?
here's my css ; http://upaste.me/d0773109d2015f3
my notice.html : http://upaste.me/5b6f31103235bcc
how to apply css to html
Thanks,
SlashGeeGee
BUMP !
-
use @killable ?
-
Script Warning Help
in Script Requests
Posted · Edited by SlashGeeGee
Hello rA
can someone fix this script it gives me warnings in map server
here's the script :
PvPSystem.txt
and for this script im getting this error :
here's the script:
WoE.txt
Please Fix
Thanks
SlashGeeGee