Skip to content

Commit 9d5b5df

Browse files
committed
Major release (pre-release), lots of changes.
This was intended to be a major release, v3.0 but I'm prereleasing it before it's complete. I have not yet done compatability testing with IE and FireFox so this may have issues if not run in webkit. That should be done shortly. The changes are so extensive you will HAVE to reaccomplish your config.php file from the config.template. There is a new self-registration feature. It can be disabled (and is by default). Be aware that if you enable it, it will declare itself in a central registry. My hope is to use that to have a server selection page kind of like live's Magelo, where you can pick the server you want. The registration server is still under construction. If not enough people bother letting their install self-register I may remove this. If you don't want your install to be known, or don't want any additional traffic being sent your way, don't enable the feature. If it does come to fruition I will be manually verifying any registered servers before listing them publicly just to make sure nobody's private installs are publicised. Other changes: Made all windows drag new css/html revamp enhanced the title.php image and added server and client caching of the image to speed it up added new guild page with class and level composition added new server page with class and level composition updated the ac/hp/mana/atk/endurance calculations added a tab to show those calculations added the shared bank slots/cash added some new window graphics--corner scrolls moved calculatestats to the profile moved the side menu into its own modular template file added an update notice to settings.php that'll check github for updates and notify you of changes added tabs to the sigbuilder and skills page added mitigation ac to the inventory window removed autocorrect from all the search fields made search fields submit on pressing enter version stamps css and js files so users dont cache and old version made cb_message_die output an error image for image scripts normalized a lot of the html to make it more SEO and screen reader friendly
1 parent d7677cd commit 9d5b5df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+6880
-4325
lines changed

CHANGES.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
v2.9.0
2+
----------------------------------------------------------------------
3+
massive rewrite
4+
5+
Mar 31, 2020 - Made all windows drag
6+
new css/html revamp
7+
enhanced the title.php image and added server and client
8+
caching of the image to speed it up
9+
added new guild page with class and level composition
10+
added new server page with class and level composition
11+
updated the ac/hp/mana/atk/endurance calculations
12+
added a tab to show those calculations
13+
added the shared bank slots/cash
14+
added some new window graphics--corner scrolls
15+
moved calculatestats to the profile
16+
moved the side menu into its own modular template file
17+
added an update notice to settings.php that'll check
18+
github for updates and notify you of changes
19+
added tabs to the sigbuilder and skills page
20+
added mitigation ac to the inventory window
21+
removed autocorrect from all the search fields
22+
made search fields submit on pressing enter
23+
24+
125
v2.8.2
226
----------------------------------------------------------------------
327
shared bank and shared bank coin

aas.php

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,20 @@
3636
* Modified database to use a class.
3737
* March 7, 2020 - Maudigan
3838
* Fixed an error causing the wrong class's AA to display
39+
* March 9, 2020 - Maudigan
40+
* modularized the profile menu output
41+
* March 22, 2020 - Maudigan
42+
* impemented common.php
43+
*
3944
***************************************************************************/
4045

4146

4247
/*********************************************
4348
INCLUDES
4449
*********************************************/
4550
define('INCHARBROWSER', true);
46-
include_once(__DIR__ . "/include/config.php");
51+
include_once(__DIR__ . "/include/common.php");
4752
include_once(__DIR__ . "/include/profile.php");
48-
include_once(__DIR__ . "/include/global.php");
49-
include_once(__DIR__ . "/include/language.php");
50-
include_once(__DIR__ . "/include/functions.php");
5153
include_once(__DIR__ . "/include/db.php");
5254

5355

@@ -107,7 +109,7 @@ function getRankCost($first_rank, $value)
107109
else $charName = $_GET['char'];
108110

109111
//character initializations
110-
$char = new profile($charName); //the profile class will sanitize the character name
112+
$char = new profile($charName, $cbsql, $language, $showsoftdelete, $charbrowser_is_admin_page); //the profile class will sanitize the character name
111113
$charID = $char->char_id();
112114
$name = $char->GetValue('name');
113115
$mypermission = GetPermissions($char->GetValue('gm'), $char->GetValue('anon'), $char->char_id());
@@ -189,6 +191,12 @@ function getRankCost($first_rank, $value)
189191
include(__DIR__ . "/include/header.php");
190192

191193

194+
/*********************************************
195+
DROP PROFILE MENU
196+
*********************************************/
197+
output_profile_menu($name, 'aas');
198+
199+
192200
/*********************************************
193201
POPULATE BODY
194202
*********************************************/
@@ -209,15 +217,6 @@ function getRankCost($first_rank, $value)
209217
'L_COST' => $language['AAS_COST'],
210218
'L_AA_POINTS' => $language['AAS_AA_POINTS'],
211219
'L_POINTS_SPENT' => $language['AAS_POINTS_SPENT'],
212-
'L_AAS' => $language['BUTTON_AAS'],
213-
'L_KEYS' => $language['BUTTON_KEYS'],
214-
'L_FLAGS' => $language['BUTTON_FLAGS'],
215-
'L_SKILLS' => $language['BUTTON_SKILLS'],
216-
'L_CORPSE' => $language['BUTTON_CORPSE'],
217-
'L_FACTION' => $language['BUTTON_FACTION'],
218-
'L_INVENTORY' => $language['BUTTON_INVENTORY'],
219-
'L_BOOKMARK' => $language['BUTTON_BOOKMARK'],
220-
'L_CHARMOVE' => $language['BUTTON_CHARMOVE'],
221220
'L_DONE' => $language['BUTTON_DONE'])
222221
);
223222

bazaar.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
* fixed a typo when loading the $lots array
2929
* January 7, 2018 - Maudigan
3030
* Modified database to use a class.
31+
* March 22, 2020 - Maudigan
32+
* impemented common.php
33+
*
3134
***************************************************************************/
3235

3336

3437
/*********************************************
3538
INCLUDES
3639
*********************************************/
3740
define('INCHARBROWSER', true);
38-
include_once(__DIR__ . "/include/config.php");
39-
include_once(__DIR__ . "/include/global.php");
40-
include_once(__DIR__ . "/include/language.php");
41-
include_once(__DIR__ . "/include/functions.php");
41+
include_once(__DIR__ . "/include/common.php");
4242
include_once(__DIR__ . "/include/itemclass.php");
4343
include_once(__DIR__ . "/include/db.php");
4444

0 commit comments

Comments
 (0)