Giter VIP home page Giter VIP logo

textdraw-editor's People

Contributors

bigeti avatar blackpedrou avatar canst7 avatar continue98 avatar nickk888samp avatar sanpezlo 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  avatar  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

textdraw-editor's Issues

can't build source file

Downloaded the whole package and put it in my server folder, had to change ndialog-pages.inc's includes because it was including y_hooks wrong, then when I tried to compile it I got tons of errors and warnings (mostly const-correctness related)

C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:838 (warning) literal array/string passed to a non-const parameter C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:838 (warning) literal array/string passed to a non-const parameter C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:838 (warning) literal array/string passed to a non-const parameter

There's also a few errors that won't let the file build
C:\Users\nonso\Desktop\SAMP server\dependencies\YSI-Includes\YSI_Core\y_core\y_utils_impl.inc:282 (error) function heading differs from prototype

Because the code for OnPlayerDisconnect in your filterscript is
public OnPlayerDisconnect(playerid)
instead of
public OnPlayerDisconnect(playerid, reason)

Also

C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1014 (error) undefined symbol "cmd_ntd"
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1392 (error) undefined symbol "cmd_ntd"
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1393 (error) undefined symbol "cmd_ntd"
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1403 (error) undefined symbol "cmd_ntd"```

No menu is shown

Hi,

I tried to use your filterscript but however, I cannot see anything. All I get is the dialog that tells me how to close the editor. If I click on "Ok", I still cannot see anything.

I just downloaded the whole project (including the server executables) and started the server and joined it.

https://i.imgur.com/2qSXifQ.png

Any help would be appreciated. I used the latest version of the filterscript.

Capitalization source file vs scriptfiles

Was looking over the code (it changed alot since the last time I used it -it became even more awesome, good job!) but I did notice this:
@stock ExportProject() ... Line 3344: if(dfile_FileExists("/NTD/Exports"))
The release however gives you precisely this directory structure:
scriptfiles/ntd/exports
(After looking up: All file path defines are OK, just the manual ones aren't)- Guessing those have yet to be changed; Lines: 3117, 3120, 3313, 3319, 3340, 3344, 4550, 4806

Windows doesn't care so much. Linux systems however (tested on Ubuntu Server 20.04) aren't so happy with it.
Server didn't crash (which I expected) but my client stopped doing anything and reconnected. Project file wasn't created

can't open projects

When opening projects nothing happens, the mouse just goes toggable like its selecting a textdraw.

[Help] Hide default samp textdraw

Hi,i have a question about default samp gui. In your editor when you call your textdraw editor the default samp gui just vanish. My question is how can i do it too? Im making a open.mp project and you can upload custom textures and use it as a textdraw. I want to hide the default samp gui and show only the textdraw? How can i do it?

Menu is not showing!

Why is there no menu is showing? I followed all the instructions, even if I repeat the installation again and again, still no menu showing up. Pls help me! (Sorry for my bad Eng).

ntdissue

update, suggestions

  1. Be able to move the textdraw with the cursor.
  2. Fix bugs you know you forgot.
  3. And let it be with the native ones from samp/open.mp

Menu is not visible

Hello,
When I try to execute /ntd , menu is not visible. Mouse cursor activated but bottom menu not active.

Not accurate instructions

When i got these messages:
printf("\n[NTD ERROR] Could not find directory or directories!");
printf("[NTD ERROR] Please create 'NTD' directory inside 'scriptfiles'!");
printf("[NTD ERROR] Within 'NTD' you should create the 'exports', 'projects' and 'languages' directory!");
printf("[NTD ERROR] The script will be unloaded or blocked!\n");

it's says that u need to create 'NTD' directory, in appercase, but actually, but it actually only worked when I changed the folder name to lowercase 'ntd'

String size failed!

issue
I think it would solve it just by increasing the size of the
new EditorLString[5000];

or NDialog may be causing the problem

ntd not compatible with latest ndialog-pages.inc

To clarify this:

D:\sw\pawno\include\ndialog-pages.inc(133) : error 035: argument type mismatch (argument 4)
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(919) : error 017: undefined symbol "NDP_AUTO"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(930) : error 017: undefined symbol "NDP_AUTO"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(3078) : error 017: undefined symbol "NDP_AUTO"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(3128) : error 017: undefined symbol "AddDialogListitem"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(4436) : error 017: undefined symbol "AddDialogListitem"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(4507) : error 017: undefined symbol "AddDialogListitem"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(4656) : error 017: undefined symbol "NDP_AUTO"

From your ndialog-pages repository I downloaded the first version (your second commit in that repository), version 2.0.
That one comes with issues aswell:

D:\sw\pawno\include\ndialog-pages.inc(136) : error 035: argument type mismatch (argument 4)
D:\sw\pawno\include\ndialog-pages.inc(159) : error 035: argument type mismatch (argument 4)

That is fixed by declaring the parameters from ndialog_pages_ShowPlayerDialog as regular arrays/strings and not constants (just for the parameters used for ShowPlayerDialog().
Same applies in ntd.pwn on line 3367 (const text[] -> text[] of function ShowInfo()). Which is pretty odd by the way, because I don't think when you released it that happened.
Using latest compiler from Zeex and stable release of latest YSI.

input string was not in correct format

input string was not in correct format what does that supposed to be mean? I mean the textdraw is correct and when converting sometextdraw it doesnt convert.

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.