Code Monkey home page Code Monkey logo

ngecore2's Introduction

NGECore2

The ProjectSWG Open Source Project's aim is to create a server emulator for the sandbox MMO Star Wars Galaxies at its final publish before shutdown on 15/12/2011.

The Open Source Version of ProjectSWG is restricted to 30 minutes uptime and upto 5 connections to ensure that the community is not split between several small servers. This restriction will not be lifted. It is not legal to remove this restriction, per the license.

The Engine (NGEngine) is a closed source library and is only licensed for use with this project. The Core (NGECore2) is licensed under the L-GPL License. By using NGECore2, you agree to the terms of both licenses.

Requirements for Building the Core:

Setting up the core

A video tutorial of this process can be viewed at http://www.projectswg.com/showthread.php?t=40304

  1. Once you have met the requirements, fork the project and then proceed to clone your copy of the repository to your computer.
  2. Import the project to Eclipse.
  3. Create a postgres DB and restore the nge.backup file. Depending on each update, you may or may not have to repeat this process. Once restored, create an account for yourself in the accounts table of your database, and update the connectionServers table with the appropriate IP address of your server, in the address field.
  4. Copy nge.cfg.example to nge.cfg, and add your DB credentials and name.
  5. Create a directory named "clientdata" inside your NGECore2 git repo.
  6. Open TRE Explorer and proceed open the sku0_client.toc in your SWG directory. Export the following directories to your clientdata directory:
  • abstract
  • appearance
  • creation
  • customization
  • datatables
  • footprint
  • interiorlayout
  • misc
  • object
  • quest
  • snapshot
  • string
  • terrain

Repeat the above extraction process with the sku1_client.toc, sku2_client.toc and sku3_client.toc files to avoid errors with kashyyyk.

You are now ready to run the core!

Contributing and Submitting patches

To contribute, commit your changes to your fork of the project and then submit a pull request.

Your changes will be reviewed by other developers. Once the changes are approved, your pull request will be merged into the main repository.

Please prefix all commits with Added, Changed, Removed or Fixed. If you don't have enough room for multiple changes, use the extended description. Try not to bundle multiple changes into one vague line (ie. "Changed various combat things"). Try to make all commit messages understandable by non-programmers.

ngecore2's People

Contributors

alkvasir avatar cdmpse avatar charoninferar avatar dak- avatar doogla avatar dsmedley avatar josh-larson avatar levarrishawk avatar lewismorgan avatar light2 avatar mesagoppinmypants avatar portocol avatar robertmueller2 avatar robunderscore avatar rohvani avatar skalex223 avatar skorpios0 avatar swgdev avatar swgsavior avatar tacef avatar tipho avatar treeku avatar tyroneswg avatar undercova avatar viaron avatar voronius avatar wallaceg09 avatar waverunner avatar wefi avatar xbang21 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

Watchers

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

ngecore2's Issues

Wrong names for quests

Eclipse tries to load this:
scripts\object\tangible\quest\imperial\itp_thrawn_datapad.py

but the files are named like this:
scripts\object\tangible\quest\imperial\shared_itp_thrawn_database.py

they all start with shared_

(Character) Double name checking

i created a new char on server and took same name like of an existing one
all works fine until i select profession and click next.

creation

system should recognize in 1st step that the name is taken already

Player is able to increase stats infinitely

If a player equips an item that conflicts with the slots of something already worn, it'll improperly remove stats/skillmods.

How to reproduce:

  1. Equip Test Robe
  2. Equip Test Cape

Skillmods have not been removed, can be repeated infinitely.

Null shuttle at: <insert shuttle name here>

Null shuttle at: Restuss Starport
Null shuttle at: Quarantine Zone
Null shuttle at: Mensix Mining Facility
Null shuttle at: Kachirho Starport
Null shuttle at: Restuss Shuttleport

All of these travel points have one major thing in common. They are all server spawned structures. None of which are spawning properly.

Expertise troubles

I started out as a commando but instead i started with a lightsaber. Jedi/Sith skills yet I have the commando skill tree and levels and profession name. I tried training commando skills but when i select the skills and click "train" it clears the tree and doesn't train anything

(Jedi) current problems/bugs

  • new Jedi get Dire Fate / Flawless / Enforcer + plus Stalker Ring ??
  • Force spark not working (no attack/animation)
  • Force throw not working (no attack/animation)
  • Force run (without expertise) is too fast i think. with expertise full points it is more than insane. someone check it plz!!

will do more testing tomorrow

weapon object type filtering

weapon object type filtering "heavy" is including the heavy lightning cannon rifles as free targeting special heavy weapons

(Officer) current problems/bugs

i know you are working on it and quite a few things not implemented yet (like npc drop) but i wanted to list some things so you dont miss some of them:

  • extra armor from expertise is not shown in Character Attributes (resistances/armor values) only in the SkillModList
  • when adding extra attributes (stamina const and more) in expertise the 1st box +25 doesnt show up in character attributes. after 2nd box +50 the number updates correctly and becomes green
  • expertise "Leadership" 2 boxes dont increase the group buff duration. still 5mins duration for all group buffs
  • Focus Fire / Tactics / Drillmaster / Charge / Scatter dont use action at all atm which is wrong
  • Tactics gives no dodge bonus in skillmods
  • Drillmaster buff effects not listed in SkillMods
  • Inspiration doesnt give action
  • Inspiration shows no skillmods when activated
  • Superior Firepower timer is not effected by expertise (reduction in timer)
  • Charge! + Scatter! dont increase player speed (both worked before but it changed 3rd december or so)
  • Scatter! gives now a 2% GB chance (should be 5%) and doesnt fade off when buff runs out. it even stacks !!
  • Charge! shows no skills at all in Skillmods tab
  • Core bomb not blowing up. only collapsing animation and sounds
  • Artillery strike missing attack/ship
  • Dioxis grenade can be spammed / instant re-use timer / action gets drained correctly
  • Supply drops not working yet (supply drop mark 1 didnt create box / tactical supply drop created a box)
  • Reinforcements didnt spawn/create NPC
  • Rally points + Group waypoint not working yet
  • Emergency shield effects not showing up in Skillmods

Unsure where to put clientdata. Does it go in the top folder of the project?

Ran into an issue with running the core. Unsure if it's a file structure or permission issue.

I get the following error while running. Don't think I have the client data in the right place. I get the same error message in Windows and Ubuntu.

On windows it says access is denied. In Ubuntu it says "clientdata is a directory".

E:\Documents\GitHub\NGECore2.\clientdata (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at engine.clientdata.IffFile.readFile(eh:164)
at engine.clientdata.ClientFileManager.loadFile(eg:142)
at engine.resources.objects.SWGObject.getContainerInfo(xb:10)
at engine.resources.objects.SWGObject.(xb:220)
at resources.objects.staticobject.StaticObject.(StaticObject.java:37)
at services.object.ObjectService.createObject(ObjectService.java:162)
at services.object.ObjectService.loadSnapshotObjects(ObjectService.java:418)
at services.TerrainService.loadSnapShotObjects(TerrainService.java:123)
at main.NGECore.start(NGECore.java:177)
at main.NGECore.main(NGECore.java:220)

Wrong map at ticket terminal

Hi;
was just trying to buy a ticket from corellia to dantooine - but at the ticket terminal I always just get the planetary map of corellia (tested in coronet and doba guerfel)

Object IDs

When logging into a character, the server thinks the character is a static object. Object IDs seem to be conflicting.

Crashing in Restuss

I seem to crash whenever I enter the heart of the destroyed Restuss city.

The error message:

SwgClient_r.exe: stage.203189
unknown location : FATAL be5fbc55: ExceptionHandler invoked

Helmets and backpacks

Helmets and backpacks worn by the actor will not show up.

They do appear to other players, though.

Sending Mail

When I try to send a mail to myself or any other character, I receive this:

java.lang.NullPointerException
at protocol.swg.ChatPersistentMessageToClient.serialize(ChatPersistentMessageToClient.java:62)
at services.chat.ChatService.sendPersistentMessageHeader(ChatService.java:329)
at services.chat.ChatService$2.handlePacket(ChatService.java:236)
at engine.resources.service.NetworkDispatch$1.run(ne:161)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I restored any files relating to chats and mail to be sure as well as deleting what's in odb/mail and odb/creature besides the placeholder.

getting problem when starting server in eclipse

org.postgresql.util.PSQLException: The connection attempt failed.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:150)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:123)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:28)
at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:20)
at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:30)
at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:22)
at org.postgresql.Driver.makeConnection(Driver.java:391)
at org.postgresql.Driver.connect(Driver.java:265)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at engine.resources.database.DatabaseConnection.connect(vl:472)
at main.NGECore.start(NGECore.java:136)
at main.NGECore.main(NGECore.java:246)
Caused by: java.net.UnknownHostException: null
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at org.postgresql.core.PGStream.(PGStream.java:60)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:74)
... 13 more
Exception in thread "main" java.lang.NullPointerException
at engine.resources.database.DatabaseConnection.preparedStatement(vl:80)
at main.NGECore.setGalaxyStatus(NGECore.java:266)
at main.NGECore.start(NGECore.java:139)
at main.NGECore.main(NGECore.java:246)

Waypoints for Rryatt Trail Instances

For future use:

rryatt trail Instance #1 NW Corner Outside -3909 0 4638

Level 1 Start -3834 173 3362
Level 1 End - a Rryatt Trail Guide: -3182.5 114.7 3822.8

Level 2 Start a Rryatt Trail Guide: -2942.9 70.2 4003.1
Level 2 End - a Rryatt Trail Guide: -2688 122 3966.6

Level 3 Start a Rryatt Trail Guide: -1826 182.5 3012.5
Level 3 End - a Rryatt Trail Guide: -1307.7 186.7 4046.1

Level 4 Start a Rryatt Trail Guide -3599.0 140.9 2843.3
Level 4 End - a Rryatt Trail Guide: -2592.7 142.6 2815.4

Level 5 Start a Rryatt Trail Guide: -1883.0 -22.1 2364.8

rryatt trail Instance #2 NW Corner outside 443 0 4646

Level 1 Start 517.6 173.5 3378.1    +75, -1268
Level 1 End 1169.4 114.7 3838.9     +726, -807.1

Level 2 Start 1406 70.2 4021        +963, -625
Level 2 End 1663.3 122.0 3982.5     +1220, -664

Level 3 Start 2524.2 182.5 3030.4   +2081, -1616
Level 3 End 3044.4 186.6 4063.4     +2601, -583

Level 4 Start 753 140.9 2851        +310, -1795
Level 4 End 1759.0 142.6 2834.2     +1316, -1811.8

Level 5 Start 2469 -22.1 2372       +2026, -2274

rryatt trail instance #3 NW Corner outside -3903 0 1325

Level 1 Start   -3820 173.5 66
Level 1 End -3165.5 114.8 525.6 

Level 2 Start   -2929 70.2 709.2
Level 2 End -2683 120 661

Level 3 Start   -1822 182.5 -291
Level 3 End -1302 185.5 742

Level 4 Start   -3593 139.1 -470
Level 4 End -2587 142.6 -486.5

Level 5 Start   -1857.4 -24.2 -941.3

rryatt trail instance #4 NW Corner outside 455 0 1336

Level 1 Start   533.6 173.5 82.4
Level 1 End 1185.9 114.8 542.8

Level 2 Start   1423 70.2 724.6
Level 2 End 1675 120 672

Level 3 Start   2536 182.5 -280
Level 3 End 3057 186.6 763.4

Level 4 Start   765 139.4 -459
Level 4 End 1771 142.6 -465

Level 5 Start   2490 -23.4 -918

rryatt trail instance #5 NW corner outside -3928 0 -2115

Level 1 Start   -3850 173.5 -3374
Level 1 End -3197.9 114.8 -2913.6

Level 2 Start   -2961.6 70.2 -2731
Level 2 End -2708 120 -2779

Level 3 Start   -1851.7 182.3 -3730.2
Level 3 End -1327 185.5 -2698

Level 4 Start   -3618 139.1 -3910
Level 4 End -2610 142.6 -3920

Level 5 Start   -1893 -23.6 -4375.2

rryatt trail instance #6 NW corner outside 423 0 -2102

Level 1 Start   501.8 173.5 -3357.7
Level 1 End 1153.8 114.7 -2896.5

Level 2 Start   1389.7 70.2 -2714.2
Level 2 End 1643 120 -2766

Level 3 Start   2504 182.3 -3718
Level 3 End 3028.3 186.7 -2674.7

Level 4 Start   733 139.1 -3897
Level 4 End 1739 142.6 -3906

Level 5 Start   2458 -23.5 -4359.7

/scripts/starter_clothing with preCU profs?

i can see brawler/marksman/artisan/scout/medic/entertainer in there

do you guys really want to name/choose those pre-CU prof descriptions for it ?
scout is not in there anymore just as an example. BH is melee and ranged too. wouldnt work then

or is it because the client asks for that info ?

(Officer) Core bomb

You can place the bomb and it starts to "implode" visually but you dont hear an explosion or see the boooooom effect

Unknown Opcode Found

Wed Nov 27 02:27:13 CET 2013: Total cost: 100
Unknown Opcode Found : 0x173b91c2Data: 02 00 C2 91 3B 17 00
Unknown Opcode Found : 0x173b91c2Data: 02 00 C2 91 3B 17 00
Unknown Opcode Found : 0xe25d8df0Data: 02 00 F0 8D 5D E2 01 00 00 00
Unknown Opcode Found : 0x91419229Data: 02 00 29 92 41 91 5A 00 00 00
Unknown Opcode Found : 0x6e295022Data: 02 00 22 50 29 6E 00 00
Unknown Opcode Found : 0x48f493c5Data: 02 00 C5 93 F4 48 00 00
Unknown Opcode Found : 0xa91a0b30Data: 02 00 30 0B 1A A9 00 00 00 00 00 00 00 00
Unknown Opcode Found : 0xfc92198bData: 02 00 8B 19 92 FC 20 00 00 00
Unknown Opcode Found : 0x4f686fd9Data: 02 00 D9 6F 68 4F 00 00
Unknown Opcode Found : 0xcb1ae82dData: 02 00 2D E8 1A CB 00 00
Unknown Opcode Found : 0xca88fbadData: 02 00 AD FB 88 CA 0B 00 63 6C 69 65 6E 74 52 65 61 64 79
Unknown Opcode Found : 0x21b55a3bData: 02 00 3B 5A B5 21 B2 33 3C 00 00 00 00 00
Unknown ObjController Opcode Found : 0x17010000
Unknown Opcode Found : 0x8e33ed05Data: 02 00 05 ED 33 8E 00 00 00 00
postgres successfully logged in.
Unknown Opcode Found : 0xc5ed2f85Data: 02 00 85 2F ED C5 BD 00 00 00 BD 00 00 00
Cant get creature from db


i bought a ticket and flew to Wayfar. ran to jabbas palace. logged out and tried to log in another character which didnt work (last line)
havent seen this kind of error before up to now. thought it might be helpful. i think it is kinda linked to jabbas palace

Cannot log into recently created characters

Create a character, logging in only works once.

java.lang.ClassCastException: resources.objects.building.BuildingObject cannot be cast to resources.objects.creature.CreatureObject
at services.object.ObjectService$5.handlePacket(ObjectService.java:444)
at engine.resources.service.NetworkDispatch$1.run(hg:518)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

can't get creature from db

when i create a character and run around with him all is fine.
i shut down server and restart server ... log in ... i cant connect with that char anymore
console says: can't get creature from db

any idea why ?

didnt change anything in pgadmin or the engine

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.