Post the error and it'll be easier for us to analyze. Picture/Text, doesn't matter.
|
My npc defininition.json isn't being read or something i searched for it in eclipse and it came up in a few class files and the server does load it but npc still wont change. Like for example if i change the combat level of a rock crab from 13 to 130 it stays at 13. and now for some reason i can't seem to attack any npc! (the main reason i was editing the json was to make pc portals attackable since they aren't in this source.) Please help.
Post the error and it'll be easier for us to analyze. Picture/Text, doesn't matter.
You editing the file will not change the combat ingame. This is done client sided and not server.
You should post code what you have already for loading the file.
archs already answered it, its client sided ,you need to edit the definitions.. no need to keep replying
im not trying to edit the combat level i just did that as a test what im actually trying to edit is the attackable boolean give me a sec and i'll post some code, its a json file
I just saw it's OSBrutality, I'm gonna download and see. Is it json or xml?
the attackable is a booleanif you need more coding i can show youCode:"id": 100, "name": "Rock Crab", "examine": "needs description", "combat": 130, "size": 1, "attackable": true, "aggressive": false, "retreats": false, "poisonous": false, "respawn": 16, "maxHit": 3, "hitpoints": 50, "attackSpeed": 4, "attackAnim": 0, "defenceAnim": 0, "deathAnim": 0, "attackBonus": 1, "defenceMelee": 0, "defenceRange": 0, "defenceMage": 0
its json
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |