ADR Bugfixes in der Version 0.4.4 ( Downlod immer aktuell )

... wenn ihr nicht mehr weiter wisst : HIER !!!

Moderator: Super Moderator

Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

ADR Bugfixes in der Version 0.4.4 ( Downlod immer aktuell )

Ungelesener Beitrag von patti »

:arrow: [#044-001] Bug when recharging a magic item can force dura over max dura limit.

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
adr/includes/adr_functions_skills.php

#
#-----[ FIND ]------------------------------------------
#
# This should be first instance in file but make sure it is the instance under "case : 'recharge'"

            $success = $repair_power;


#
#-----[ REPLACE WITH ]------------------------------------------
#

            $repair_power = (($item_repaired['item_duration'] + $repair_power) > ($item_repaired['item_duration_max'] -1)) ? (($item_repaired['item_duration_max'] -1) - $item_repaired['item_duration']) : $repair_power;
            $success = intval($repair_power); 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

[#044-002] Possible bug in viewtopic ADR stats when using ..

Ungelesener Beitrag von patti »

:arrow: [#044-002] Possible bug in viewtopic ADR stats when using lang keys for alignment, class, element or race names.


Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
adr/includes/adr_functions_alone.php

#
#-----[ FIND ]------------------------------------------
#

                  $class_lang = $lang[$class_info[$class]['class_name']];


#
#-----[ REPLACE WITH ]------------------------------------------
#

                  $class_lang = adr_get_lang($class_info[$class]['class_name']);


#
#-----[ FIND ]------------------------------------------
#

                  $race_lang    = $lang[$race_info[$race]['race_name']];


#
#-----[ REPLACE WITH ]------------------------------------------
#

                  $race_lang    = adr_get_lang($race_info[$race]['race_name']);


#
#-----[ FIND ]------------------------------------------
#

                  $element_lang    = $lang[$element_info[$elements]['element_name']];


#
#-----[ REPLACE WITH ]------------------------------------------
#

                  $element_lang    = adr_get_lang($element_info[$elements]['element_name']);


#
#-----[ FIND ]------------------------------------------
#

                  $alignment_lang = $lang[$alignment_info[$alignment]['alignment_name']];


#
#-----[ REPLACE WITH ]------------------------------------------
#

                  $alignment_lang = adr_get_lang($alignment_info[$alignment]['alignment_name']);
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-003] Typo in monster $success calc.



Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
adr_battle.php

#
#-----[ FIND ]------------------------------------------
#

$challenger['character_dexerity']


#
#-----[ REPLACE WITH ]------------------------------------------
#

$challenger['character_dexterity'] 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-004] Occasionally semi colon isn't appended to end of restriction list line in shop view.

Code: Alles auswählen

#
#--------------[ OPEN ]-------------
#
adr_shops.php


#
#--------------[ FIND ]-------------
#

$char_resist_list .= $lang['Adr_char_cha'].' ['.$row['item_restrict_cha'].']';

#
#--------------[ REPLACE WITH ]-----
#

$char_resist_list .= $lang['Adr_char_cha'].' ['.$row['item_restrict_cha'].']; ';
$char_resist_list = substr($char_resist_list,0,strlen($char_resist_list) -2);


#
#--------------[ FIND ]-------------
#

$char_resist_list .= $lang['Adr_char_cha'].' ['.$row['item_restrict_cha'].']';

#
#--------------[ REPLACE WITH ]-----
#

$char_resist_list .= $lang['Adr_char_cha'].' ['.$row['item_restrict_cha'].']; ';
$char_resist_list = substr($char_resist_list,0,strlen($char_resist_list) -2); 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-005] Int & Wis requirements are incorrect after purchasing an item from store.

Code: Alles auswählen

#--------------[ OPEN ]-------------
#
adr/includes/adr_functions_shop.php


#
#--------------[ FIND ]-------------
#

function adr_shop_insert_item(

#
#--------------[ FIND ]-----
#
# Inside above function

(item_id, item_owner_id, item_type_use, item_name, item_desc, item_icon, item_price, item_quality, item_duration, item_duration_max, item_power, item_add_power, item_mp_use, item_weight, item_auth, item_element, item_element_str_dmg, item_element_same_dmg, item_element_weak_dmg, item_max_skill, item_sell_back_percentage, item_bought_timestamp, item_restrict_align_enable, item_restrict_align, item_restrict_class_enable, item_restrict_class, item_restrict_element_enable, item_restrict_element, item_restrict_race_enable, item_restrict_race, item_restrict_level, item_restrict_str, item_restrict_dex, item_restrict_con, item_restrict_wis, item_restrict_int, item_restrict_cha, item_crit_hit, item_crit_hit_mod, item_stolen_id, item_stolen_by, item_stolen_timestamp)


#
#--------------[ INLINE FIND ]-------------
#

item_restrict_wis, item_restrict_int,

#
#--------------[ INLINE REPLACE WITH ]-----
#

item_restrict_int, item_restrict_wis, 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-008] Incorrect URL redirect in "adr_db_update.php" file after login.

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
adr/language/lang_english/lang_adr.php

#
#-----[ FIND ]------------------------------------------
#
   $lang['Adr_character_twice']='You can not create more than one character';

#
#-----[ AFTER ADD ]-------------------------------------
#

$lang['Adr_character_same_name_creation']='Your chosen character name has already been taken!';

#
#-----[ OPEN ]------------------------------------------
#
adr/language/lang_german/lang_adr.php

#
#-----[ FIND ]------------------------------------------
#
   $lang['Adr_character_twice']='Du kannst nicht mehr als eine Figur erstellen';

#
#-----[ AFTER ADD ]-------------------------------------
#

$lang['Adr_character_same_name_creation']='Dein gewählter Name ist schon vergeben!';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-007] Missing variables for the Restriction title in "admin_adr_forums_shop.php"

Code: Alles auswählen

#
#-----[ OPEN ]-----------------------------------------------------------------
#
admin_adr_forums_shop.php


#
#-----[ FIND ]-----------------------------------------------------------------
#
# Both instances

            "L_RESTRICT_CHARS" => $lang['Adr_admin_item_restrict_chars'],
#
#-----[ BEFORE ADD ]-----------------------------------------------------------
#
# Both instances

            "L_RESTRICT_TITLE" => $lang['Adr_admin_item_restrict_chars'],


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-008] Incorrect URL redirect in "adr_db_update.php" file after login.

Code: Alles auswählen

#
#-----[ OPEN ]-----------------------------------------------------------------
#
adr_db_update.php

#
#-----[ FIND ]-----------------------------------------------------------------
#

   header($header_location . append_sid("login.$phpEx?redirect=db_update.$phpEx", true));

#
#-----[ REPLACE WITH ]-----------------------------------------------------
#

   header($header_location . append_sid("login.$phpEx?redirect=adr_db_update.$phpEx", true));


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-009] More useful "message_die" if recieving an error when creating a character.

Thanks to Makien for picking this one up.

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
adr_character.php

#
#-----[ FIND ]------------------------------------------
#

if ($Step2)
   {

#
#-----[ AFTER ADD ]------------------------------------------
#

$sql = "SELECT character_id FROM " . ADR_CHARACTERS_TABLE ."
            WHERE character_id = $user_id";
      if(!$result = $db->sql_query($sql)){
         message_die(GENERAL_MESSAGE, 'Error getting character info', '', __LINE__, __FILE__, $sql);}
      $character_twice = $db->sql_fetchrow($result);
      if ( $character_twice != ''){     
         adr_previous( Adr_character_twice , adr_character, '');
      }else{

#
#-----[ FIND ]------------------------------------------
#

$result = $db->sql_query($sql);
      if( !$result )
      {
         adr_previous( Adr_character_twice , adr_character , '' );
      }
      adr_update_posters_infos();

#
#-----[ REPLACE WITH ]------------------------------------------
#

if (!$result = $db->sql_query($sql)) {
         message_die(GENERAL_ERROR, 'Could not insert new character into database', '', __LINE__, __FILE__, $sql);}
      adr_update_posters_infos();
      }

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Ungelesener Beitrag von patti »

:arrow: [#044-010] Equipment is not always displayed correctly when attempting to equip for a new PvP battle.

Originally reported by Mysterius.
Fix posted by Ethalic on April 30th 2007 & modified slightly by Seteo-Bloke for bug fix release.


Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
adr_character_pvp.php

#
#-----[ FIND ]------------------------------------------
#

$item_sql = adr_make_restrict_sql($char);

#
#-----[ REPLACE WITH ]------------------------------------------
#

$item_sql = adr_make_restrict_sql($adr_user);


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Benutzeravatar
patti
Site Admin
Site Admin
Beiträge: 7955
Registriert: Mi 23. Nov 2005, 00:48
Geschlecht: Männlich
Wohnort: NRW Kerken
Kontaktdaten:

Re: ADR Bugfixes in der Version 0.4.4 ( Downlod immer aktuel

Ungelesener Beitrag von patti »

Hullo,

da die Mod schon seit langen nicht mehr verbaut ist bzw. wir auch phpBB 3 umgestigen sind, bieten wir daher auch keinen Support fuer die ADR MOD.

Lieben Gruss Patti
Lets Plays die spass machen : Klick hier

______________________________________

MonstersgameBlog ueber Games und Abzocker

Unser Youtube Kanal:  photo logo_small_2x-vfl4_cFqn.png
Gesperrt

Zurück zu „Support“