Jump to content

  •  

Jerahya

Member Since 17 Sep 2015
Offline Last Active Oct 05 2015 02:06 AM
-----

Posts I've Made

In Topic: Error Compiling on VS2012

22 September 2015 - 08:14 AM

try using the clif.c found in the file I uploaded. It should work fine.


In Topic: how to know the Packet Version ?

21 September 2015 - 02:10 PM

I see. I just got used to rathena maybe. Thanks for the info.


In Topic: how to know the Packet Version ?

21 September 2015 - 01:46 PM

@Dastgir I know but he ask what packet version to use to he'll couple of information from that packet db. like 

//2013-08-07Ragexe

packet_ver: 45

 

which gives

#define PACKETVER 20130807

and

<version>45</version> for clieninfo.xml

 

:P


In Topic: how to know the Packet Version ?

21 September 2015 - 01:08 PM

This?
http://upaste.me/4fbf8825c47d852c


based on what you put in mmo.h.


In Topic: Error Compiling on VS2012

21 September 2015 - 11:39 AM

hopefully it will be sooner. But I was able to compile map-server.exe by puting the C declaration at the beginning of the function. 

 

Fromint atcommand_stopattack(struct block_list *bl,va_list ap){	struct unit_data *ud = unit->bl2ud(bl);	nullpo_ret(bl);	int id = va_arg(ap, int);        ....}Toint atcommand_stopattack(struct block_list *bl,va_list ap){        int id;	struct unit_data *ud = unit->bl2ud(bl);	nullpo_ret(bl);	id = va_arg(ap, int);        ....}

same goes for other function that has the error. But I still have other error to deal with.

 

Posted Image

 

EDIT: Fix for the error above ^

edit src/common/cbasetypes.h

Line 289:

//#ifndef __bool_true_false_are_defined// If stdbool.h is not available or does not define this#ifndef __cplusplustypedef char bool;

Run Clean then Build solution. This is just a temporary fix until the actual fix comes out. I have no idea what I was doing while editing the code. :P

 

or just replace clif.c and atcommand.c in scr/map and cbasetypes.h in scr/common with this.

https://www.mediafir...6ndsriaghibyk1b 176.5kb - 3 files.

can't use pastebin. clif.c is more than 512kb. :P