Git Product home page Git Product logo

module_blizzcms-armory's Introduction

Armory | BLIZZCMS module!

Module for the BlizzCMS

Characteristics

  • Displays the items that carries a character.
  • See members of guilds.

Installation

  • Copy to application/modules/armory folder
  • Open the application/config/routes.php file and add these lines at the end:
/*armory*/
$route[$lang.'/armory/player/(:num)'] = 'armory/index/$2';
$route[$lang.'/armory'] = 'armory/search';
$route[$lang.'/armory/result'] = 'armory/result';
$route[$lang.'/armory/guild/(:num)'] = 'armory/guild/$2';
  • Enjoy your module
  • See an example here, enter https://www.theegn.com/en/armory

Live Demo

Screenshots

[Captura1] [Captura2] [Captura3] [Captura4] [Captura5] [Captura6]

Thanks

module_blizzcms-armory's People

Contributors

scarecr0w12 avatar sebasbrs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

module_blizzcms-armory's Issues

Broken Item links

Currently, the way the item pull is occurring does not line up with what the actual item is that is equipped.

The probable cause is:

    public function getCharInvNeck($MultiRealm, $id)
    {
		$this->multirealm = $MultiRealm;
        return $this->multirealm->select('item')->where('guid',$id)->where('bag','0')->where('slot','1')->get('character_inventory');
    }

Whereas it is looking up a reference ID rather than the actual ID. Possible fix:

Suggestion from #

public function getCharInvNeck($MultiRealm, $id)
{
	$this->multirealm = $MultiRealm;
    $this->multirealm->select('item')->where('guid',$id)->where('bag','0')->where('slot','1')->get('character_inventory');
    $this->multirealm->join('item_instance', 'item_instance.guid = character_inventory.item');
    $this->multirealm->where('guid','item'); 
    $query = $this->multirealm->get();
    return $query->result();
 }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.