Jump to content

fish_log has no real colum name


Recommended Posts

  • Premium

Hey today I noticed, that some log tables has no real colum names.

For example the fish_log table looks like that:

CcZ7N1H.png

Does anybody here has a better fish_log than I?

It's is nearly imposible to work with this.

 

 

Sorry for my bad english :(

 

Regards

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Premium
Query("INSERT INTO fish_log%s VALUES(NOW(), %u, %d, %u, %d, %u, %u, %u)",
			get_table_postfix(),
			dwPID,
			prob_idx,
			fish_id,
			fish_level,
			dwMiliseconds,
			dwVnum,
			dwValue);

Set your column name to the right.

1 -> datatime

2 -> player_id

3 -> prob_idx

4 -> fish_id

5 -> fish_level

6 -> miliseconds (unix timestamp)

7 -> vnum

8 -> value

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.