atom?

Započeo just_Sukiii, Jun 09, 2019, 14:58:56 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

neko da zna podesiti atom.io i da zna podesit compiler..
Instalirao sam
language-pawn (za sintaksu)
pawn-build (trebao bi biti za compile)

u pawn-buildu sam podesio path do pawnc.exe
[pawn]
C:\#Sule\#NyxProject\#NyxProject\pawno\pawncc.exe
[/pawn]
i to bi trebalo da je oke

al nisam siguran za pawn options i sta mu to znaci xD pa tu sam metnuo
[pawn]
-d3, -Z+, -;+
[/pawn]

Al kad pritisnem f5 (key bind koji je oznacen u opcijama pawn-builda) nista se ne desava
ako bi neko znao podeisiti ovo, zahvaljujem mnogo unaprijed

( ENORMOUS RESPECT Ino420 / Xunder)
( tutorial )
> Sublime Text 3 > Atom.io
( includes & fs )
> Moving Textdraw > Daily Collect [With FS] > Custom GameText > Duel System
( gamemodes )
> Ganton Wars > Arcadius RPG > Light Matrix > Old Nation

Mislim da bi Ino420 ovo znao . @Ino42O
[ мαтяүx ]
- Pusti našu pjesmu , tebi čuvam zadnji ples -

Iskreno nisam nikada koristio pawn compiler u Atom-u, budem pokusao kada budem na windows-u pa ti javim.
Software Developer

Citat: Ino42O poslato Jun 10, 2019, 08:37:54 PRE PODNE
Iskreno nisam nikada koristio pawn compiler u Atom-u, budem pokusao kada budem na windows-u pa ti javim.
@Ino42O, vazi, nadam se da ces uspjet  :D

( ENORMOUS RESPECT Ino420 / Xunder)
( tutorial )
> Sublime Text 3 > Atom.io
( includes & fs )
> Moving Textdraw > Daily Collect [With FS] > Custom GameText > Duel System
( gamemodes )
> Ganton Wars > Arcadius RPG > Light Matrix > Old Nation


Citat: // xunder poslato Jun 10, 2019, 19:44:25 POSLE PODNE
https://gist.github.com/Zeex/8c6539bb95c8b6198593
vidim da je ovo paketom 'build', udjem u njega instaliram ga u atom, al ja i dalje nez dje da metnem to sto Zeex dao xD
ako ti se da da objasnis hvala, ako ne i ako nemas vremena sve oke vraticu se nazad na sublime
pokusavao sam ja svasta ulazio, al kontam sve da cu sjebat nesto  :D :D

( ENORMOUS RESPECT Ino420 / Xunder)
( tutorial )
> Sublime Text 3 > Atom.io
( includes & fs )
> Moving Textdraw > Daily Collect [With FS] > Custom GameText > Duel System
( gamemodes )
> Ganton Wars > Arcadius RPG > Light Matrix > Old Nation

Mislim da ti to preko ovoga ide: https://atom.io/packages/build
Software Developer

Citat: Ino42O poslato Jun 11, 2019, 00:03:40 PRE PODNE
Mislim da ti to preko ovoga ide: https://atom.io/packages/build
preko njega sam isao, al dalje u njemu ne znam kak da kreiram svoj build tu xD

( ENORMOUS RESPECT Ino420 / Xunder)
( tutorial )
> Sublime Text 3 > Atom.io
( includes & fs )
> Moving Textdraw > Daily Collect [With FS] > Custom GameText > Duel System
( gamemodes )
> Ganton Wars > Arcadius RPG > Light Matrix > Old Nation

Pokusaj path da napises ovako

C:\\#Sule\\#NyxProject\\#NyxProject\\pawno\\pawncc.exe


Da bi pokrenuo build trebas imati atom-build.json u root folderu servera (znaci gdje ti se nalazi folder pawno i gamemodes (zapravo mozes i u gamemodes staviti ali em je ovako preglednije em lakse pristupiti pawno folderu).
U atom-build.json moras da zadas komandu

{
cmd: "pawno\\pawncc.exe main.pwn -r -;+ -(+ -d2 -i=pawno\\include
}

Ako te zanimaju sta znace svi ovi parametri:

Options:
         -A<num>  alignment in bytes of the data segment and the stack
         -a       output assembler code
         -C[+/-]  compact encoding for output file (default=+)
         -c<name> codepage name or number; e.g. 1252 for Windows Latin-1
         -Dpath   active directory path
         -d<num>  debugging level (default=-d1)
             0    no symbolic information, no run-time checks
             1    run-time checks, no symbolic information
             2    full debug information and dynamic checking
             3    same as -d2, but implies -O0
         -e<name> set name of error file (quiet compile)
         -H<hwnd> window handle to send a notification message on finish
         -i<name> path for include files
         -l       create list file (preprocess only)
         -o<name> set base name of (P-code) output file
         -O<num>  optimization level (default=-O1)
             0    no optimization
             1    JIT-compatible optimizations only
             2    full optimizations
         -p<name> set name of "prefix" file
         -r[name] write cross reference report to console or to specified file
         -S<num>  stack/heap size in cells (default=4096)
         -s<num>  skip lines from the input file
         -t<num>  TAB indent size (in character positions, default=8)
         -v<num>  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)
         -w<num>  disable a specific warning by its number
         -X<num>  abstract machine size limit in bytes
         -XD<num> abstract machine data/stack size limit in bytes
         -\       use '\' for escape characters
         -^       use '^' for escape characters
         -;[+/-]  require a semicolon to end each statement (default=-)
         -([+/-]  require parantheses for function invocation (default=-)
         sym=val  define constant "sym" with value "val"
         sym=     define constant "sym" with value 0

gdje taj path dodavam u 'pawn-build' ili 'build' package, jer sam ga prije stavljao u pawn-build a sada sam ga izbacio, a zeex je napisao da treba 'build https://atom.io/packages/build ', a u 'build' ga nigdje nmg naci gdje da stavljam path

dalje, dal fajl treba da se zove atom-build.json ili feaararg.atom-build.json tj treba li ekstenzija sve ukupno da bude .atom-build.json
msm ja sam probavao i jedno i drugo, ali kada koristim F9 (build za 'build' package) kaze mi http://prntscr.com/o0gdlm

http://prntscr.com/o0gg9w, jel samo to treba da bude u atom-build.json, ili treba jos nesto (ono sto si gore slao)

opet izvini sto smaram, nub jsam  :D

( ENORMOUS RESPECT Ino420 / Xunder)
( tutorial )
> Sublime Text 3 > Atom.io
( includes & fs )
> Moving Textdraw > Daily Collect [With FS] > Custom GameText > Duel System
( gamemodes )
> Ganton Wars > Arcadius RPG > Light Matrix > Old Nation


Citat: // xunder poslato Jun 11, 2019, 15:50:23 POSLE PODNE
http://prntscr.com/o0gy8c Evo kako sam ja to uspio :D

ako bas hoces json da bude

{
  "cmd": "pawno\\pawncc.exe gamemodes\\grandlarc.pwn -r -;+ -(+ -d2 -i=pawno\\include"
}

radi, lock ! :D
HVALA I JEDNOM I DRUGOM

( ENORMOUS RESPECT Ino420 / Xunder)
( tutorial )
> Sublime Text 3 > Atom.io
( includes & fs )
> Moving Textdraw > Daily Collect [With FS] > Custom GameText > Duel System
( gamemodes )
> Ganton Wars > Arcadius RPG > Light Matrix > Old Nation