Comments (7)
Trying to log in with guest, no response when clicking login. May be related.
from game.
OK. There seems to be a bug then. Verified.
On the map.js
file at the drawMap()
:
const nearbyItems = this.droppedItems.filter((item) => {
const foundItems = (this.player.x <= (8 + item.x))
&& (this.player.x >= (item.x - 8))
&& (this.player.y <= (6 + item.y))
&& (this.player.y >= (item.y - 6));
return foundItems;
});
Somehow world.droppedItems
's array is getting an object that has an id
of 281
which is wrong because it is looking for strings
and not numbers
. That's the issue.
281
refers to, perhaps, the Copper/Tin rock. But how is the world.droppedItem's array getting it?
from game.
Hmm. Interesting. Somehow the droppedItems variable on the world map has a map ID of 281
when it should be a string thus causing the getItemData function to look for a number which doesn't exist thus giving no graphics
to reference and causing the error.
Will try to reset the server to see if it fixes it.
PS - You can always download to play it.
from game.
Looks like resetting the server did the trick and there's a bug when logging off with the guest account.
You should be able to login now.
from game.
I am only getting the following error if trying to login:
map.js:259 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'graphics')
at a (map.js:259:22)
at G.<anonymous> (map.js:274:9)
at Array.forEach (<anonymous>)
at G.drawItems (map.js:248:17)
at qt.paintCanvas (engine.js:90:19)
at qt.loop (engine.js:69:10)
at qt.start (engine.js:79:10)
at Delaford.vue:218:1
at Generator.next (<anonymous>)
at r (asyncToGenerator.js:3:20)
from game.
Just tried it and it works now. Thanks!
from game.
Mine just wont give me any message when i log in,just registered, help pls? i cant use the inspect element to fix so help if u can pls
from game.
Related Issues (20)
- Having some bug in sign in HOT 1
- Allow Smithing of other metals
- Display message if user has insufficient bars but good smithing level
- Allow timer for dropped items to only show for player who dropped them
- A player attempting to smith with no bars crashes the game
- Save progress of player during their duration of the game
- You get smithing EXP even if you have no bars
- Fix levels of progress -- or rather change the way we get experience
- Correct Spelling in Register Screen HOT 2
- JJHTTH[ControlMapping] Up = 10-4033,10-19 Down = 10-4032,10-20 Left = 10-4031,10-21 Right = 10-4030,10-22 Circle = 10-97 Cross = 10-96 Square = 10-99 Triangle = 10-100 Start = 10-108 Select = 10-109 L = 10-102 R = 10-103 An.Up = 10-4003 An.Down = 10-4002 An.Left = 10-4001 An.Right = 10-4000 Fast-forward = 10-4036,10-105 Pause = 10-4034,10-104 HOT 1
- mani ctraft gta HOT 1
- Vijay
- Viiay
- Game HOT 1
- Delaford game
- npm ERROR says version not compatible HOT 4
- 拿破仑转生少女-游戏-代码-newbing HOT 1
- U
- Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from game.