Giter Site home page Giter Site logo

design1online / wtf-adventure Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phinolex/tap-tap-adventure

92.0 92.0 37.0 434.8 MB

WTF?! Adventure is a massively online 2D MMORPG with WTF?! twists.

Home Page: https://design1online.github.io/WTF-Adventure/

License: Other

JavaScript 8.11% CSS 0.07% HTML 90.98% SCSS 0.49% TypeScript 0.35%
browserquest canvas canvas-game game game-development game-server hacktoberfest html5 html5-canvas html5-game mmorpg mmorpg-game mmorpg-server multiplayer multiplayer-browser-game multiplayer-game multiplayer-game-engine multiplayer-game-server multiplayer-online-game nodejs

wtf-adventure's People

Contributors

dependabot[bot] avatar design1online avatar eric256 avatar noctisdark avatar spoobert avatar tassadarx avatar veradictus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wtf-adventure's Issues

Interesting

I think best part about TTA, is seeing the different versions that have spawned from it :) Keep it up, I'll be following.

Oyun sunucusuna bağlanılamadı.

Sunucu ve Clienti başlatıyorum ama nedense oyuna giriş yaptığımda Sunucuya bağlanmıyor " Oyun sunucusuna bağlanılamadı. "
yazıyor Client ve Server Config de ki portlar aynı 3000

Problem with my MySQL how to fix that the database is imported

> nodemon --exec babel-node src/server/js/main.js

[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `babel-node src/server/js/main.js`
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
[Thu Aug 20 2020 05:05:56 GMT+0200 (Central European Summer Time)] NOTICE Initializing WTF?! Adventure game engine...
[Thu Aug 20 2020 05:05:56 GMT+0200 (Central European Summer Time)] NOTICE Server is now listening on: 8001
Successfully established connection to the MySQL database!
setting timeout, initializing worlds
Finished loading 131 mobs.
Loaded 6 mob plugins.
Finished loading 45 NPCs.
Finished loading 258 items.
Loaded 1 item plugins.
Finished loading 3 skills.
Finished loading 1 shops.
Parser loaded
************ World 1 ***********
Loaded 1 PVP areas.
Loaded 74 music areas.
Loaded 9 chest areas.
Spawned 10 static chests
Spawned 9 entities!
The map has been successfully loaded!
********************************
[Thu Aug 20 2020 05:05:57 GMT+0200 (Central European Summer Time)] NOTICE Finished creating 1 world!
[Thu Aug 20 2020 05:05:57 GMT+0200 (Central European Summer Time)] NOTICE Connect locally via http://localhost:8001
[Thu Aug 20 2020 05:06:06 GMT+0200 (Central European Summer Time)] ERROR MySQL database disconnected.
[Thu Aug 20 2020 05:06:06 GMT+0200 (Central European Summer Time)] ERROR { Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:167:27)
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read',
  fatal: true }

Some issues

its not possible to insert text in login and register inputs

after click on "Guest login" the server crash with error:

_this.mobsDictionary = new _mobs.default();
^

TypeError: _mobs.default is not a constructor
at Player.Character (/home/browsergame/src/server/js/game/entity/character/character.js:43:27)
at new Player (/home/browsergame/src/server/js/game/entity/character/player/player.js:31:5)
at World.playerConnectCallback (/home/browsergame/src/server/js/game/world.js:54:22)
at Server.playerConnectCallback [as connectionCallback] (/home/browsergame/src/server/js/main.js:107:22)
at Socket.connectionCallback (/home/browsergame/src/server/js/network/websocket.js:88:16)
at Socket.emit (events.js:189:13)
at /home/browsergame/node_modules/socket.io/lib/socket.js:528:12
at process._tickCallback (internal/process/next_tick.js:61:11)

could not connect to game server

no errors on client or server, when i go on localhost:3000 all buttons are dimmed. when i click on them they say "could not connect to game server" even though there were no errors.

Error on client start :(

ERROR in ./css/main.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./css/main.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.11.0
at module.exports (C:\Users\asus\Desktop\WTF-Adventure-master (1)\WTF-Adventure-master\node_modules\node-sass\lib\binding.js:13:13)
at Object. (C:\Users\asus\Desktop\WTF-Adventure-master (1)\WTF-Adventure-master\node_modules\node-sass\lib\index.js:14:35)
at Module._compile (C:\Users\asus\Desktop\WTF-Adventure-master (1)\WTF-Adventure-master\node_modules\v8-compile-cache\v8-compile-cache.js:178:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (C:\Users\asus\Desktop\WTF-Adventure-master (1)\WTF-Adventure-master\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at Object.sassLoader (C:\Users\asus\Desktop\WTF-Adventure-master (1)\WTF-Adventure-master\node_modules\sass-loader\lib\loader.js:46:72)
@ ./css/main.scss 2:14-119
@ multi ./css/main.scss ./src/client/config.json ./assets/data/sprites.json ./assets/data/maps/world_client.json

Warning: all the old depndecies make this game hard to run in 2023 never got it running

figuring out how to get the right version of node maybe it was 14 I think, mysql 5.7 something, and other dependencies was hard in 2023. I found myself for whatever reason (sorry this was a couple days ago) running old 20.04 Ubuntu and running an MySQL in docker because it wouldn't work on that version of OS but some other thing needed that version of the OS. Also you need a gui and a web browser to make the server run :(. Which is a waste ram/money imo for running one of these servers long term. Couldn't get x11 working or many other workarounds to spoof gui. running a browser. I think after much too time spent I could have got it working with a gui probably but gave up. If you are trying to get this running I got close but would not recommend. I don't know if this is bad form on GitHub or not I'm new here. To recommend a fork I never was able to play this game and see what makes it unique. I spend two days on it. I was however able to get https://github.com/Kaetram/Kaetram-Open working another fork of tap tap adventure and browser quest I wish I knew about sooner. That game I got working in like half a day when skipping the database and little more time polishing thing in like a day.Based on the print outs from the server that I saw in both versions like entities spawned and other numbers I saw my guess is that game is more feature complete.

Consider taking the best features of this and rolling it into that fork if you are still passionate about this game. Or make a docker container to make running it easy and posting it on one of those container sites to preserve it. Or maybe you moved on. I wondered why it was called WTF Adventure :) I hope I didn't come off as too rude. It was just my first time having a hell of a time with old software and dependencies on Ubuntu and I needed to vent. I bet I would have liked you game if I could have got it running. I'm glad to see another woman wanting to get girls into tech stuff.

Error on client start

Hello when I try do lunch: npm start I get:

ERROR in ./css/main.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./css/main.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: ENOENT: no such file or directory, scandir '/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/vendor'
    at Object.fs.readdirSync (fs.js:904:18)
    at Object.getInstalledBinaries (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/lib/extensions.js:130:13)
    at foundBinariesList (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.sassLoader (/var/www/sites/*.expij.online/html/mmo.expij.online/html/node_modules/sass-loader/lib/loader.js:46:72)
 @ ./css/main.scss 2:14-119
 @ multi ./css/main.scss ./src/client/config.json ./assets/data/sprites.json ./assets/data/maps/world_client.json

Any idea how to fix that?
TIA

"player_data" rank is a withheld word in MySql 8.x

code: 'ER_PARSE_ERROR', errno: 1064, sqlMessage: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank int,ban int(64),mute varchar(64),membership varchar(64),lastLogin varchar(6' at line 1", sqlState: '42000', index: 0, sql: 'CREATE TABLE player_data (username varchar(64),password varchar(64),email varchar(64),x int,y int,experience int,kind int,rights int,poisoned tinyint,hitPoints int,mana int,pvpKills int,pvpDeaths int,rank int,ban int(64),mute varchar(64),membership varchar(64),lastLogin varchar(64),guild varchar(64),lastWarp varchar(64),PRIMARY KEY(username))'

image

changing rank to anything else and the error won't appear.

database creation

Table player_data contains column named "rank" witch is a reserved word for MySQL 8.
Thanks.

Missing client config.json

After "npm start" the client try to use the /assets/data/config.json and not the /src/client/config.json

Client doesnt work

  • its not possible to enter text in the input (so registriation or login not possible)

  • click on Guest login crashed the server:
    `/home/browsergame/src/server/js/game/world.js:802
    if (entity.instance in this.MobsDictionary) {
    ^

TypeError: Cannot use 'in' operator to search for '1101' in undefined`

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.