Browse Source

Changed max_paramter to an unsigned int

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@656 54d463be-8e91-2dee-dedb-b68131a5f0ec
codemaster 20 năm trước cách đây
mục cha
commit
3e663377ab
3 tập tin đã thay đổi với 11 bổ sung7 xóa
  1. 1 0
      Changelog.txt
  2. 9 6
      Dev/bugs.txt
  3. 1 1
      src/map/battle.h

+ 1 - 0
Changelog.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 12/20
+	* Changed max_paramter to an unsigned int so that you can have over 255 as your max stat [Codemaster]
         * Experimental: Reverting a change on deleting any skill units when we're 
           logging off - might reduce the 'delete_timer' errors [celest]
         * Added check whether an item is allowed to be dropped, for example wedding

+ 9 - 6
Dev/bugs.txt

@@ -107,9 +107,7 @@ Problem:        Chars with ' in their name.. is legal.. and messes up sql
 Assigned:       N/A
 Progress:       0%
 
-   DB server Error - You have an error in your SQL syntax; check the manual that co
-   rresponds to your MySQL server version for the right syntax to use near 'n' Sniff')' at line 1
-    Scratch 'n' Sniff
+	DB server Error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'n' Sniff')' at line 1    Scratch 'n' Sniff
 
 Problem:        Spiral Pierce can cause loss of Skill Points
 Assigned:       N/A
@@ -117,12 +115,17 @@ Progress:       0%
 
     If you have a skill but due to a job change (or admin update), the
     skill tree changes and you no longer can get to that skill, you
-    will loose the skill points if you log out/in
+    will loose the skill points if you log out/i
 
     The easiest way to reproduce this problem is become a Peco Lord
     Knight, get spiral pierce, get off the peco, log off, log in, and
     get back on the peco.  You will not have Spiral Pierce anymore and
     you will have lost the skill points
 
- blacksmith hammerfall on the new_1-1.gat's bridge crashes server
- hunter spamming traps crashes server
+Problem:	blacksmith hammerfall on the new_1-1.gat's bridge crashes server
+Assigned:       N/A
+Progress:       0%
+
+Problem:	hunter spamming traps crashes server
+Assigned:       N/A
+Progress:       0%

+ 1 - 1
src/map/battle.h

@@ -217,7 +217,7 @@ extern struct Battle_Config {
 	int max_hp;
 	int max_sp;
 	int max_lv;
-	int max_parameter;
+	unsigned int max_parameter;
 	int max_cart_weight;
 	int pc_skill_log;
 	int mob_skill_log;