Harmony Patch 3.3.12 30 MAI

I got this on latest hercules.

Code:
harmony.c: In function 'harmony_action_request':harmony.c:327: error: 'struct atcommand_interface' has no member named 'parse'harmony.c:334: error: 'struct atcommand_interface' has no member named 'parse'make[1]: *** [obj_sql/harmony.o] Error 1make[1]: Leaving directory `/home/Hercules/trunk/src/map'make: *** [map_sql] Error 2 
 
I got this on latest hercules.

harmony.c: In function 'harmony_action_request':harmony.c:327: error: 'struct atcommand_interface' has no member named 'parse'harmony.c:334: error: 'struct atcommand_interface' has no member named 'parse'make[1]: *** [obj_sql/harmony.o] Error 1make[1]: Leaving directory `/home/Hercules/trunk/src/map'make: *** [map_sql] Error 2 
Same :x

 
Awesome i'll test that too bro 
default_wink.png


 
Just change the 

atcommand->parse 


to

atcommand->exec 


in this file

Code:
harmony.c:327: error: 'struct atcommand_interface' has no member named 'parse'harmony.c:334: error: 'struct atcommand_interface' has no member named 'parse' 
 
Anyone experience this? my sql info was correct.

Code:
[SQL]: DB error - Column count doesn't match value count at row 1[Debug]: at account_sql.c:642 - INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`,`last_mac`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
 
Working with the latest Hercules version.
default_biggrin.png


I would like to leave a patch for fix this errors that I had.

CC chat.c CC chrif.c CC clif.c CC date.c CC duel.c CC elemental.c CC guild.c CC harmony.charmony.c: In function ‘harmony_action_request’:harmony.c:327: error: ‘struct atcommand_interface’ has no member named ‘parse’harmony.c:334: error: ‘struct atcommand_interface’ has no member named ‘parse’make[1]: *** [obj_sql/harmony.o] Error 1make[1]: Leaving directory `/home/hercules784/Hercules/trunk/src/map'make: *** [map_sql] Error 2

Harmony_Full_3.4.0.patch

 

Attachments

Just change the 

atcommand->parse 


to

atcommand->exec 


in this file

harmony.c:327: error: 'struct atcommand_interface' has no member named 'parse'harmony.c:334: error: 'struct atcommand_interface' has no member named 'parse' 
fix !!

 
Working with the latest Hercules version.
default_biggrin.png


I would like to leave a patch for fix this errors that I had.

CC chat.c CC chrif.c CC clif.c CC date.c CC duel.c CC elemental.c CC guild.c CC harmony.charmony.c: In function ‘harmony_action_request’:harmony.c:327: error: ‘struct atcommand_interface’ has no member named ‘parse’harmony.c:334: error: ‘struct atcommand_interface’ has no member named ‘parse’make[1]: *** [obj_sql/harmony.o] Error 1make[1]: Leaving directory `/home/hercules784/Hercules/trunk/src/map'make: *** [map_sql] Error 2
There a problem on last_mac, can't log in.

FIXED : I forgot to update the mmo.h
default_smile.png


Thanks

 
Last edited by a moderator:
[SQL]: DB error - Column count doesn't match value count at row 1
[Debug]: at account_sql.c:642 - INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`,`last_mac`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

how to fix help me please

it appear when regis by _M _F

 
[SQL]: DB error - Column count doesn't match value count at row 1

[Debug]: at account_sql.c:642 - INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`,`last_mac`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

how to fix help me please

it appear when regis by _M _F
You have 17 fields and 16 ?. You need one more '?'.

 
[SQL]: DB error - Column count doesn't match value count at row 1

[Debug]: at account_sql.c:642 - INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`,`last_mac`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

how to fix help me please

it appear when regis by _M _F
You have 17 fields and 16 ?. You need one more '?'.
where to fix it please tell me ..

 
[SQL]: DB error - Column count doesn't match value count at row 1

[Debug]: at account_sql.c:642 - INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`,`last_mac`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

how to fix help me please

it appear when regis by _M _F
You have 17 fields and 16 ?. You need one more '?'.
where to fix it please tell me ..
account_sql.c I guess

 
ok i found how to fix

in account_sql.c

add ,? red color thank you very much

"INSERT INTO `%s` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",

 
Back
Top