User:Qaisjp: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
I've been here since October 2010... ah the good times.
{{MTA Developer}}
You can find me at quite a few of places...
 
You can find me in quite a few places...
* Skype, Twitter, IRC, pretty much everything: qaisjp
* Skype, Twitter, IRC, pretty much everything: qaisjp
* [http://github.com/qaisjp/ GitHub]
* [http://github.com/qaisjp/ GitHub]
* Open Source report card [http://osrc.dfm.io/qaisjp OSRC.DFM.IO]


I've contributed to quite a few things, but the two major things that really matter are [[MTA:Eir]] and [[hedit]]. Others are... nothing compared to these two beasts.
I maintain [[hedit]], contribute to Blue, and have been a contributor to many servers.
 
You'll find me on #mta on GTANet. I'm on Discord as well. Happy to chat!
 
== mtasa-blue ==
=== [https://bugs.mtasa.com/view.php?id=8714 issue 8714 Vehicle door/component desync on vehicle stream-in/out] ===
[https://github.com/multitheftauto/mtasa-blue/commit/27dd16873edbabc6663109ade2c5c9b4e3edc61e reference for network stuff]
 
=== [https://bugs.mtasa.com/view.php?id=8985 issue 0008985 setCameraFOV aiming] ===
[https://github.com/Whitetigerswt/samp-fov-changer/blob/master/fov/dllmain.cpp#L166 reference for aiming]
 
 
 
=== wiki dump ===
 
http://www.httrack.com/html/httrack.man.html
 
<pre>
httrack "http://wiki.localhost/wiki/Main_Page" "+http://wiki.localhost/images/*" "+http://wiki.localhost/extensions/*" "+http://wiki.localhost/resources/*" -c3 -%c0 -%v2 -A0 -#L30000000 -s0 -%k -%F '' --disable-security-limits
</pre>
 
<pre>
:thinking:
HTTrack Website Copier/3.48-20 mirror complete in 23 minutes 17 seconds : 30975 links scanned, 22989 files written (606020297 bytes overall) [394444732 bytes received at 282351 bytes/sec], 509114662 bytes transferred using HTTP compression in 25278 files, ratio 28%, 95.5 requests per connection
</pre>
 
other options: [https://www.kiwix.org/en/ kiwix]: https://meta.wikimedia.org/wiki/Kiwix / https://en.wikipedia.org/wiki/Kiwix
 
MORE STUFF HERE https://www.mediawiki.org/wiki/Category:Import/Export
 
=== macOS ===
==== breakpad ====
https://archive.fo/DJvyQ
 
==== ncurses ====
 
<pre>
ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
 
If you need to have ncurses first in your PATH run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc
 
For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"
 
For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
</pre>
 
 
==== Link warning ====
<pre>
==== Building Core (debug_x64) ====
Linking Core
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
</pre>
 
See https://github.com/golang/go/issues/26073#issuecomment-410142472
 
I had to do the rm -rf thing after updating xcode. Fix works after doing reboot and doing a clean build.
 
=== Lua Test Suite ===
 
https://github.com/4O4/mtasa-lua-tests


My main channels:
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops
* Freenode: #novaember, #asswb, ##unek (## is not a typo)
* JC2-MP: #jc2-mp, #jc2-mp.lua
* OFTC: #love
* GTANET: #fmj, #internet, #mittens(cats be careful), #mta, #mta.dev, #mta.recore, #mta.scripting, #mta.support


I like cake, code and loyalty. I don't know why I said loyalty.. I just wanted to say three things.
=== other stuff ===
I hate people who don't indent, spammers and people who just act immature.
* [http://regexr.com/3bjrp LUA_DECLARE regexp for visual studio 2012+]: static int *\t*(\S*) *\t*\( lua_State ?\* luaVM \);    replacing LUA_DECLARE ( $1 );
I have very strong feelings about those who don't indent, but I'm prepared to forgive... as long as you swear to always indent.


Why does Dreamweaver not indent the code properly? Who actually uses Dreamweaver anyway... my school can be stupid sometimes. I don't want to use Dreamweaver and why don't you explain to your students what a "div" actually is... all I hear is my friend saying "ARE YOU CALLING ME A DIV? WHATS A DIV?".  
== hedit 3.0 ==
The resource has an internal API and the GUI works independently of it. The log syncing and response sending is handled by the the internal API on the client side and the gui core uses this API to apply this to the UI.


Loyalty. Well backstabbers boil my blood. I'm a calm person... most of the time. I've got a short fuse when it comes to the noobs on the MTA forum, but maybe that's what makes me patient and allows me to lengthen my fuse in serious conversations.
The gui core does not handle the showing/hiding of the GUI, it works through a public API


I hate racism, sexicsm and the sorts... but I won't hesitate to laugh at the jokes though. I can be pretty racist to my own kind, when I am.
=== Folders ===
====client/*====
* '''sync/''': Has an ''<u>internal</u> API'' that handles the sync, access locks and log streaming
* '''gui/''': Has a ''<u>public</u> API'' that manages the rendering and the application to access lock.
* '''play/''': This uses the public API to provide the default capabilities expected of hedit. It injects several things for usability into the GUI.


I like writing long responses to despicable posts on forums... it gives me the kicks to see how the idiot replies to me.
====server/*====


Eir is cool. Green ftw.
=== stuff ===
resources -> container
* many instances of containers can be created
* containers are managed by the resource "plug-in and play" code


I've been in quite a few clanumities (meh, why not merge clan and community), to be quite honest.. I'm just not sure if I should make a quick list of what I've been in. Here's the general gist:
=== Containers ===
Containers have:
* x button (injected by plugin and play)
* titlebar
* pane selector
* pane


* RK clan - my first clan. nice drifting clan back on DKR Freeroam++. 1.0.4 - good times
=== Log windows ===
* Alternative Freeroam Server - some guys from RK started a server. i wanted to be admin but i was given mod and had access to server files, this is how I started to learn to code. I learn by example.
Log windows are managed by the plug-in and play code, many can exist at once due to the modular code but this feature will never be used.
* AGS - a failed attempt to completely polish the dying AFS into an awesome AGS.
Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)
* XtremeStuntage - remi-x was mah brah. i helped out a bit.
* XtremeRoleplay - i think i tried making a roleplay thing.. partnering with my then-superbro-remi. then someone raged at me for being part of xtremeroleplay, i didn't know some XR existed! i dont even like roleplay, but i think i could do a good job at one.
* Freeroam++ - the wonderful world of open source was revealed to me and i wanted my dream freeroam server to be publicly available. it failed, of course.
* Famas Freeroam - ooh that was a cools thing. Guy called FAMAS didn't think I could script. I fixed a ramp community script to make it server side.  he liked me. i fixed things.
* The Mushroom Kingdom - FamasFreeroam renamed to TMK. i started modifying more things (i had admin and ftp) and i was moving some shitty mushroom images around the screen. this new admin guy joined who happened to make FF with FAMAS and banned me. famas told this new admin guy (who was his IRL besty) that they started FF together not TMK. but famas didn't unban me because he didn't want to lose a friend. well fuman.
* SAUR - at some point i was in saur... not sure if it was after NPG though. this was back when Will owned it.. then the clanumity pooped on Will and he was flushed. poor will, he was always so nice to me. infinate didn't like me much, so he banned me. oh well. i don't like saur much anyway. infinate thinks i hate him. srslywhocares
* NPG - founded by a forum topic. ended by a special thing. the first real multigamemode server evar. if only we still had the videos on youtube.
* special thing  - hm?
* i left mta i think
* started projectoraculum on github-> moved to lemonade -> disbanded lemonade in favour of user repos. lemonade is only used for openframe.
* offered to host for a friend, the new owner of TMK. neither famas nor thatnewguy owns it, this time another guy does - peter. i knew him as peter and then luigi originally. i helped out with some scripts for a bit and i saw that most of my maps were in it (well not mine, but my best guy's maps) so i told him that i will still host for him but he needs to make his own content and not copy all my old stuff. he just copied everything i gave him to help him into his server. so he deleted everything from ftp, del me as admin from the fb group and said okay fine. he was very angry and i dont know what hes doing right now. oh yeah, TMK is on mc and something else now. oh well
* special thing 2. still waiting for someone to do something. cmon make that specification mr owner!
* special thing 3. still waiting - i dont want to cause conflicts between two servers. anyway they're completely diff so it shouldn't be a problem
* dayz - that -ffs-sniper thing. still waiting for a reply


= sandbox =


cool.
[[Beta Features|BETA]]

Latest revision as of 10:11, 30 March 2020

Coder.gif This user is an MTA developer

You can find me in quite a few places...

  • Skype, Twitter, IRC, pretty much everything: qaisjp
  • GitHub

I maintain hedit, contribute to Blue, and have been a contributor to many servers.

You'll find me on #mta on GTANet. I'm on Discord as well. Happy to chat!

mtasa-blue

issue 8714 Vehicle door/component desync on vehicle stream-in/out

reference for network stuff

issue 0008985 setCameraFOV aiming

reference for aiming


wiki dump

http://www.httrack.com/html/httrack.man.html

httrack "http://wiki.localhost/wiki/Main_Page" "+http://wiki.localhost/images/*" "+http://wiki.localhost/extensions/*" "+http://wiki.localhost/resources/*" -c3 -%c0 -%v2 -A0 -#L30000000 -s0 -%k -%F '' --disable-security-limits
:thinking:
HTTrack Website Copier/3.48-20 mirror complete in 23 minutes 17 seconds : 30975 links scanned, 22989 files written (606020297 bytes overall) [394444732 bytes received at 282351 bytes/sec], 509114662 bytes transferred using HTTP compression in 25278 files, ratio 28%, 95.5 requests per connection

other options: kiwix: https://meta.wikimedia.org/wiki/Kiwix / https://en.wikipedia.org/wiki/Kiwix

MORE STUFF HERE https://www.mediawiki.org/wiki/Category:Import/Export

macOS

breakpad

https://archive.fo/DJvyQ

ncurses

ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ncurses first in your PATH run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc

For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"

For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"


Link warning

==== Building Core (debug_x64) ====
Linking Core
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.

See https://github.com/golang/go/issues/26073#issuecomment-410142472

I had to do the rm -rf thing after updating xcode. Fix works after doing reboot and doing a clean build.

Lua Test Suite

https://github.com/4O4/mtasa-lua-tests

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops

other stuff

hedit 3.0

The resource has an internal API and the GUI works independently of it. The log syncing and response sending is handled by the the internal API on the client side and the gui core uses this API to apply this to the UI.

The gui core does not handle the showing/hiding of the GUI, it works through a public API

Folders

client/*

  • sync/: Has an internal API that handles the sync, access locks and log streaming
  • gui/: Has a public API that manages the rendering and the application to access lock.
  • play/: This uses the public API to provide the default capabilities expected of hedit. It injects several things for usability into the GUI.

server/*

stuff

resources -> container
  • many instances of containers can be created
  • containers are managed by the resource "plug-in and play" code

Containers

Containers have:

  • x button (injected by plugin and play)
  • titlebar
  • pane selector
  • pane

Log windows

Log windows are managed by the plug-in and play code, many can exist at once due to the modular code but this feature will never be used. Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)

sandbox

BETA