Git Product home page Git Product logo

psonova-server's Introduction

PSONOVA Servers and Utilities

Indirect fork of psobb-tethealla. Mostly the same, but with some fixes here and there.

Important differences:

  • can run on Linux (Wine)
  • can be compiled with only gcc
  • DAT version not supported (MySQL only)
  • extra comments for clarity

Installation

Download the server folder and follow these instructions.

Building

If you want to build your own binaries, download the whole repo and run "make" in MingGW in the top level directory. The binaries will be written over the binaries supplied in the "install" folder. Follow the instructions above as normal.

I would not recommend building this in a Unix environment. I don't even think it will actually build. Account-Add maybe, but it's been having md5 hashing issues as of late when built on Linux so i would not recommend it. Tethealla was not written with Unix systems in mind. However i would eventually like to get this project buildable on Linux.

Wiki

I've started a wiki explaining Teth and PSONOVA. It's very sparse at the moment.

psonova-server's People

Contributors

gatchi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

psonova-server's Issues

Code not compilable

Using the mingw32-make Version GNU Make 3.82.90

gcc -o account_add account_add.o -L src/mysql/lib -llibmysql md5.o
cp account_add.exe ./install/login
process_begin: CreateProcess(NULL, cp account_add.exe ./install/login, ...) failed.
make (e=2): The system cannot find the file specified.
makefile:33: recipe for target 'account_add' failed
mingw32-make: *** [account_add] Error 2

When removing account_add from makefile:

gcc -c -I src/md5/include -I src/mysql/include -I src/prs src/login_server/login_server.c
src/login_server/login_server.c: In function 'main':
src/login_server/login_server.c:5125:11: error: redeclaration of 'ch' with no linkage
  unsigned ch;
           ^~
src/login_server/login_server.c:5062:11: note: previous declaration of 'ch' was here
  unsigned ch,ch2;
           ^~
src/login_server/login_server.c:5127:8: error: redeclaration of 'fp' with no linkage
  FILE* fp;
        ^~
src/login_server/login_server.c:5073:8: note: previous declaration of 'fp' was here
  FILE* fp;
        ^~
makefile:71: recipe for target 'login_server.o' failed
mingw32-make: *** [login_server.o] Error 1

Stackable items (x99) like materials and mag cells

In src/ship_server/load-funcs.h

Replace

for (ch=0;ch<0x09;ch++)
{
if (ch != 0x02)
stackable_table[ch] = 10;
}
stackable_table[0x10] = 99;
}

With

 for (ch=0;ch<0x09;ch++) //monomates, trimates, etc (except techs)
    {
        if (ch != 0x02)
            stackable_table[ch] = 10;
    }   
    stackable_table[0x09] = 1; //scape dolls
    stackable_table[0x0A] = 99; //all grinders
    stackable_table[0x0B] = 99; //all materials
    stackable_table[0x0C] = 99; //various mag cells
    stackable_table[0x0D] = 99; //enemy parts
    stackable_table[0x0E] = 99; //mag cells and combination items
    stackable_table[0x0F] = 99; //addslots 
    stackable_table[0x10] = 99; //photon drops, spheres and crystals
    stackable_table[0x11] = 99; //book of katana 1,2,3
    stackable_table[0x12] = 99; //weapons badges, cards and tickets
    stackable_table[0x13] = 99; //present
    stackable_table[0x14] = 99; //treats and more badges
    stackable_table[0x15] = 99; //event presents (xmas etc)
    stackable_table[0x16] = 99; //music disks
    stackable_table[0x17] = 99; //hunters report

And use Lee's Client Patcher for patch the Psobb.exe
https://mega.nz/#!ltZDnY5D!S32uvsayGznaLhi4E-9X6U-LU3yN9RrAsehD_CIwB0k

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.