Jump to content
  • 0

(Help) Update SRC code


Question

Posted (edited)
Hello, Friends. This script is Bomberman event. Creator: KeyWorld

 

The fact is, I've found a few SRC in my old pc, and I would like to update and make it compatible with the emulator rathena.

 

I tried to add it and gives me the following error when compiling.:

 



1>------ Operación Generar iniciada: proyecto: map-server_sql, configuración: Debug Win32 ------
1> clif.c
1> map.c
1> script.c
1>c:\ro\src\map\script.c(18025): warning C4047: 'función' : 'block_list *' es distinto en los niveles de direccionamiento indirecto de 'int'
1>c:\ro\src\map\script.c(18025): warning C4024: 'map_clearflooritem' : tipos distintos para el parámetro formal y el parámetro real 1
1>c:\ro\src\map\script.c(18049): error C2039: 'src4instance' : no es un miembro de 'map_flag'
1> c:\ro\src\map\map.h(546) : vea la declaración de 'map_flag'
1>c:\ro\src\map\script.c(18049): error C2039: 'instance_id' : no es un miembro de 'script_state'
1> c:\ro\src\map\script.h(119) : vea la declaración de 'script_state'
1>c:\ro\src\map\script.c(18051): warning C4013: 'instance_mapid2imapid' sin definir; se supone que extern devuelve como resultado int
1>c:\ro\src\map\script.c(18051): error C2039: 'instance_id' : no es un miembro de 'script_state'
1> c:\ro\src\map\script.h(119) : vea la declaración de 'script_state'
========== Generar: 0 correctos, 1 incorrectos, 2 actualizados, 0 omitidos ==========


(Sorry that was Spanish, since that is my language)

 

I will attach the diff file to look at the changes.

 

Please this is very important to me, I would appreciate any help.

 

Greetings comrades.

bomberman.diff

Edited by Racing

9 answers to this question

Recommended Posts

Posted

try to remove the map[m].flag.src4instance &&

it will look like this

if( st->instance_id )

 

mmm ... could explain a little more detail. please. XD

Posted

Your diff contain makeitem & areaclean what so important?

 

rathena emulator already have both

 

*makeitem <item id>,<amount>,"<map name>",<X>,<Y>;
*makeitem "<item name>",<amount>,"<map name>",<X>,<Y>;

 


*cleanarea "<map name>",<x1>,<y1>,<x2>,<y2>;
*cleanmap "<map name>";

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...