Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: WaName
Post: RE: WaName
It isn't a problem of chatter. The raw Cuberite adds "Wa" and if I use chatter, its also seeable there. Player:GetName() returns the true Name o a player. strange or? |
|
JuliB |
Discussion
|
3 |
3,977 |
01-23-2016, 07:24 AM |
|
|
Thread: WaName
Post: WaName
When I press tabulator all names have a "Wa" as prefix. In chatter by NiLSPACE too... Didn't get out why and I don't want to be called WaJuliB. Player:GetName() returns the true value.
Hope the quest... |
|
JuliB |
Discussion
|
3 |
3,977 |
01-23-2016, 06:35 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
Thx! You are right. Maybe I'll try to analyse the single vectors, because this is a very strange phenomenon. Also I use lua variable tables now. If I get out more or hang again I'll write. |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-17-2016, 09:31 PM |
|
|
Thread: ExecuteConsoleCommand Issue
Post: ExecuteConsoleCommand Issue
Hello. I need to use the ExecuteConsoleCommand, but it doesn't work.
Line:
lua Wrote:
--
cPluginManager:Get():ExecuteConsoleCommand("stop")
--
Error:
Quote:
--
error in function 'ExecuteConso... |
|
JuliB |
Plugin Discussion
|
0 |
2,551 |
01-16-2016, 03:12 AM |
|
|
Thread: NoChunkNoFall
Post: RE: NoChunkNoFall
Perfect. so much better than a plugin :D |
|
JuliB |
Plugin Requests
|
11 |
11,506 |
01-16-2016, 02:33 AM |
|
|
Thread: NoChunkNoFall
Post: RE: NoChunkNoFall
I could write a plugin as alternative solution until a solution is written in the code. What I need is a function to check if a Chunk is loaded. |
|
JuliB |
Plugin Requests
|
11 |
11,506 |
01-16-2016, 02:05 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
Pics:
http://picpaste.de/2016-01-08_16.15.47-cqJ91WMn.png
http://picpaste.de/2016-01-08_16.15.44-IZApMNlA.png
http://picpaste.de/2016-01-08_16.15.39-DuAHEVIm.png |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-09-2016, 01:19 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
http://pastebin.com/nLEy5kRV
Whole code |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-09-2016, 01:13 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
Good Idea to set the gravity down, but the problem is more difficult! The snowball is pull in 4 directions between the big sky directions (N E S W). That means the ball flies to nordeast nordwest sout... |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-09-2016, 12:56 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
Sounds good! Which articles in the API should I read?
The rest works 1A :D ...nearly... The zoom is made by slowness, but it bugs when changing between flying and walking... But this is complete okay... |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-08-2016, 08:52 AM |
|
|
Thread: Get player by name
Post: RE: Get player by name
Okay, thanks :D It works now :D You are just awsome!!! Thank you!!!:) |
|
JuliB |
Plugin Discussion
|
10 |
9,918 |
01-08-2016, 03:50 AM |
|
|
Thread: Get player by name
Post: RE: Get player by name
I believe we are very near :blush:
[shcode=lua]
function OnProjectileHitEntity(ProjectileEntity, Entity)
ShooterName = ProjectileEntity:GetCreatorName()
--Entity:TakeDamage(DamageType, AttackerEntit... |
|
JuliB |
Plugin Discussion
|
10 |
9,918 |
01-08-2016, 03:25 AM |
|
|
Thread: Get player by name
Post: RE: Get player by name
Quote:
--
function DetectcPlayerByName(GivenName)
cRoot:Get():FindAndDoWithPlayer(GivenName,
function(a_Player)
if (a_Player:GetName() ~= GivenName) then
-- Callback is calle... |
|
JuliB |
Plugin Discussion
|
10 |
9,918 |
01-08-2016, 03:06 AM |
|
|
Thread: Get player by name
Post: Get player by name
Hello. Given is the Name of the Player as string and I need it as a cPlayer. I tried FindAndDoWithPlayer and ForEachPlayer but it doesn't work at all. I tried it for two hours and the most programmers... |
|
JuliB |
Plugin Discussion
|
10 |
9,918 |
01-08-2016, 02:40 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
I'm sorry for asking so much,:blush: but how can I store if a player is aming at? The first right click means aim at and lay effects over the sniper, the scond rightclick should removing the effects..... |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-07-2016, 11:27 PM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-07-2016, 10:35 PM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
The speed includes the vector :idea:
It works nearly! The problem is, the hook HOOK_PLAYER_LEFT_CLICK is called only when the player hits a block, not in the air, and I don't want to shoot blocks :D |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-07-2016, 10:03 PM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
Okay it seems the plugin will be finished this week :D
I know now how to spawn projectiles, but I don't know how to define the direction of the projectlie, where the cursor is looking at... |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-07-2016, 10:55 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
There is no function for shooting yet. In spite: http://pastebin.com/pvrp4sRm
Just the begin... |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-07-2016, 08:09 AM |
|
|
Thread: Sniper / Gun
Post: RE: Sniper / Gun
Okay...
I'm hanging... Given is the X, Y and Z-Position, but I don't know, how I can detect, if it hurts a player or an animal. Any ideas? |
|
JuliB |
Plugin Requests
|
28 |
22,506 |
01-07-2016, 07:28 AM |