asmodeosnetworkco / module_blizzcms-armory Goto Github PK
View Code? Open in Web Editor NEWArmory Module for BlizzCMS
Home Page: https://zuldazar-realms.tk/armory
License: GNU General Public License v3.0
Armory Module for BlizzCMS
Home Page: https://zuldazar-realms.tk/armory
License: GNU General Public License v3.0
while using this module with Azerothcore, the gear equipped is not correct. The reason behind this is the code is looking in character_inventory.item for the item number. The actual number for items is stored in item_instance.itemEntry. the thing is, we do need the current number that is being pulled from character_inventory.item, as it references to item_instance.guid. and then finally the proper item number is found in item_instance.itemEntry. I tried creating a join. but my coding abilities are trash at best.
this is what I came up with, but obviously it doesn't work. so if someone that knows more can assist in actual functioning join.
Armory_model.php
public function getCharInvHead($MultiRealm, $id)
{
$this->multirealm = $MultiRealm;
$this->multirealm->select('item')->where('guid',$id)->where('bag','0')->where('slot','0')->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();
}
I was then thinking I could reference itemEntry field in view.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.