Permalink
2 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added int64 support to the script engine (#4522)
Added support for signed 64 bit integer value computation into the script engine. This is required because newer official features require support for bigger numbers inside the scripts. This also cleans up a lot of messy code and fixes a few issues like script stack corruptions. Thanks to @aleos89 and everyone who supported me with this.
- Loading branch information
Showing
with
942 additions
and 677 deletions.
- +1 −1 conf/msg_conf/map_msg.conf
- +2 −2 conf/msg_conf/map_msg_chn.conf
- +2 −2 conf/msg_conf/map_msg_frn.conf
- +1 −1 conf/msg_conf/map_msg_idn.conf
- +2 −2 conf/msg_conf/map_msg_por.conf
- +2 −2 conf/msg_conf/map_msg_rus.conf
- +1 −1 conf/msg_conf/map_msg_spn.conf
- +1 −1 conf/msg_conf/map_msg_tha.conf
- +3 −3 sql-files/main.sql
- +8 −0 sql-files/upgrades/upgrade_20200109.sql
- +9 −10 src/char/char_logif.cpp
- +1 −1 src/char/char_logif.hpp
- +33 −35 src/char/inter.cpp
- +0 −1 src/char/inter.hpp
- +31 −0 src/common/db.cpp
- +36 −0 src/common/db.hpp
- +1 −1 src/common/mmo.hpp
- +68 −0 src/common/utilities.cpp
- +4 −0 src/common/utilities.hpp
- +15 −15 src/login/account.cpp
- +2 −2 src/login/account.hpp
- +1 −1 src/map/achievement.cpp
- +11 −6 src/map/atcommand.cpp
- +2 −1 src/map/channel.cpp
- +1 −1 src/map/clif.cpp
- +1 −1 src/map/duel.cpp
- +8 −8 src/map/intif.cpp
- +24 −6 src/map/itemdb.cpp
- +1 −1 src/map/map.cpp
- +17 −17 src/map/mapreg.cpp
- +3 −3 src/map/mapreg.hpp
- +21 −12 src/map/mob.cpp
- +34 −29 src/map/npc.cpp
- +11 −11 src/map/npc_chat.cpp
- +57 −51 src/map/pc.cpp
- +8 −8 src/map/pc.hpp
- +486 −421 src/map/script.cpp
- +14 −10 src/map/script.hpp
- +11 −5 src/map/skill.cpp
- +6 −3 src/map/status.cpp
- +2 −2 src/tool/csv2yaml.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -0,0 +1,8 @@ | ||
| ALTER TABLE `acc_reg_num` | ||
| MODIFY `value` bigint(11) NOT NULL default '0'; | ||
|
|
||
| ALTER TABLE `global_acc_reg_num` | ||
| MODIFY `value` bigint(11) NOT NULL default '0'; | ||
|
|
||
| ALTER TABLE `char_reg_num` | ||
| MODIFY `value` bigint(11) NOT NULL default '0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e72c736There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bigint 11 on sql? Why not 20?
e72c736There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
11 or 20 doesn't change anything here