Cabal Server Files

/ Comments off

For some reason, cabal isn't creating an executable for my program. When I run cabal build, I get this output:

A subsequent cabal run gives me this error:

Sure enough, there is no server binary in dist/build/server/server. The temp files are, however, in dist/build/server/server-temp/.

My .cabal file:

My directory structure (including dist from cabal build):

Best Cabal Server

The main definition:

Cabal private server files

Cabal-version: >=1.10. Tested-with: GHC==8.0.2. Extra-source-files: CHANGELOG.md. Source-repository head. Cabal Online - Private servers, Guides, free servers Time till toplist reset: 2 weeks, 3 days. Details N4A Online gaming open a new server for cabal.

user3594595

1 Answer

it's all there in the message:

Cabal

you need a source file defining the Main module

and exporting a mainfunction:

and your main-is field in your .cabal file should point to this.

If you have all this you should be able to compile it into an executable.

Here is a nice intro: How to write a Haskell programm

update

as it turn out the module was named Core.Main - make sure you have one module Main too - you can always add a top level main.hs and reexport just the main from Core.Main too

CarstenCarsten
This server files are contains:
-Arcane Trace
-EP10 Skills (Full work)
-Bracelet and Earring +8
-Archridium set (with some bug)
-Chaos Infinity
-Arcane Golem
-Saints forcecalibur with nation statbar
-Summer Vacation costumes
-Hellforged costumes
-Unique drop and moblist
-Pet May and Claris and Skeleton
-Unique Nation costumes
-Purify Costume
-Awakened Leth Tyrant RIng, Tempus Ring
-Critical Rate rune, some rune extended level
-Lot of Fixes which i did
Database same with Extornia's repack. Only Eventdata is different but not need for common work.
Server files: Fallen
UPDATED!
Client: https://docs.google.com/file/d/0B5pD...lvbERpWVU/edit
XOR keys:
<xor_key value='92' />
<xor_key value='13' />
<xor_key value='39' />
<xor_key value='78' />
Client -> XOR need to test -> Eddy gaven a link for me...
Credits: DeXtR, Revy
Click to the Like and rep me if you like this!