[12-03 18:58] | [Mage] | Icewolfz: hmm there no direct way |
[12-03 18:58] | [Mage] | Icewolfz: granted it jus ta database |
[12-03 18:58] | [Mage] | Wizzard: well, its a sqlite db so yeah sorta |
[12-03 18:58] | [Mage] | Icewolfz: if using jimud |
[12-03 18:58] | [Mage] | Driznit: im using jimud |
[12-03 18:58] | [Mage] | Wizzard: true, you'd need to client save, run jimud and client load |
[12-03 18:59] | [Mage] | Icewolfz: 1 sec if i can remmeber the code |
[12-03 18:59] | [Mage] | Driznit: ohh yeah lol it's jsut a txt file if you save it |
[12-03 18:59] | [Mage] | Icewolfz: wel ldirect way is use an sqlite db manager and opening the file |
[12-03 18:59] | [Mage] | Driznit: or export it |
[12-03 18:59] | [Mage] | Icewolfz: yo ucna export it as json |
[12-03 19:00] | [Mage] | Wizzard: and use something as simple as notepad++ |
[12-03 19:01] | [Mage] | Icewolfz: open mapper, view > dev tools |
[12-03 19:01] | [Mage] | Icewolfz: at console: mapper._db.prepare('select count(*) from Rooms').all() |
[12-03 19:01] | [Mage] | Icewolfz: will return total rooms |
[12-03 19:01] | [Mage] | Icewolfz: granted if you know enough sql you cna modifier the select call to get more slective |
[12-03 19:01] | [Mage] | Icewolfz: it returns an array just expoand the object in the conssole ot see th raw # |
[12-03 19:02] | [Mage] | Icewolfz: or add [0]['count(*)'] |
[12-03 19:02] | [Mage] | Icewolfz: you can access teh db object using mapper._db |
[12-03 19:02] | [Mage] | Icewolfz: and do all kinds of unoffical things |
|
Back to List |