[ClientMod] Chat Position [pos]

User avatar
jordan4ibanez
Member
 
Posts: 1893
Joined: Tue Sep 27, 2011 18:44
Location: Rhode Island, USA
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

[ClientMod] Chat Position [pos]

by jordan4ibanez » Mon Sep 18, 2017 01:05

This is a small mod which essentially takes over your chat to display your position.

Github: https://github.com/jordan4ibanez/pos

Download: https://github.com/jordan4ibanez/pos/archive/master.zip

License: wtfpl
If you can think it, you can make it! My Patreon :D
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [ClientMod] Chat Position [pos]

by sofar » Mon Sep 18, 2017 21:24

Why not allocate a HUD element and display text in there? Taking over the chat makes it fairly unusable for almost any purpose.
 

User avatar
ManElevation
Member
 
Posts: 765
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
 

User avatar
Linuxdirk
Member
 
Posts: 1460
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: [ClientMod] Chat Position [pos]

by Linuxdirk » Wed Sep 20, 2017 07:54

sofar wrote:Why not allocate a HUD element and display text in there? Taking over the chat makes it fairly unusable for almost any purpose.

Uhm, because client-side modding does not support HUD elements?
 

User avatar
azekill_DIABLO
Member
 
Posts: 7342
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
ManElevation
Member
 
Posts: 765
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [ClientMod] Chat Position [pos]

by ManElevation » Sat Sep 23, 2017 16:05

um why doesnt this work? im on windows and i get this error
Code: Select all
2017-09-23 18:04:18: ERROR[Main]: ModError: Failed to load and run script from C:\Users\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:
2017-09-23 18:04:18: ERROR[Main]: ...rs\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:3: attempt to call field 'register_on_connect' (a nil value)
2017-09-23 18:04:18: ERROR[Main]: stack traceback:
2017-09-23 18:04:18: ERROR[Main]:    ...rs\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:3: in main chunk
2017-09-23 18:04:18: ERROR[Main]: Check debug.txt for details.
 

User avatar
kingoscargames
Member
 
Posts: 216
Joined: Fri Jul 28, 2017 12:06
Location: Netherlands
GitHub: kingoscargames
In-game: kingoscargames

Re: [ClientMod] Chat Position [pos]

by kingoscargames » Sat Sep 23, 2017 16:20

ManElevation wrote:um why doesnt this work? im on windows and i get this error

Im using windows and it works for me.
 

User avatar
Lone_Wolf
Member
 
Posts: 1789
Joined: Sun Apr 09, 2017 05:50
Location: You wouldn't believe me
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf or Somebody

Re: [ClientMod] Chat Position [pos]

by Lone_Wolf » Tue Sep 26, 2017 19:33

ManElevation wrote:um why doesnt this work? im on windows and i get this error
Code: Select all
2017-09-23 18:04:18: ERROR[Main]: ModError: Failed to load and run script from C:\Users\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:
2017-09-23 18:04:18: ERROR[Main]: ...rs\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:3: attempt to call field 'register_on_connect' (a nil value)
2017-09-23 18:04:18: ERROR[Main]: stack traceback:
2017-09-23 18:04:18: ERROR[Main]:    ...rs\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:3: in main chunk
2017-09-23 18:04:18: ERROR[Main]: Check debug.txt for details.

Put it in the clientmods folder
I've noticed the number of mods I can contribute to has decreased. I'm sticking with Github. Even though I don't like MS
 

User avatar
ManElevation
Member
 
Posts: 765
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [ClientMod] Chat Position [pos]

by ManElevation » Wed Sep 27, 2017 14:53

Lone_Wolf wrote:
ManElevation wrote:um why doesnt this work? im on windows and i get this error
Code: Select all
2017-09-23 18:04:18: ERROR[Main]: ModError: Failed to load and run script from C:\Users\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:
2017-09-23 18:04:18: ERROR[Main]: ...rs\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:3: attempt to call field 'register_on_connect' (a nil value)
2017-09-23 18:04:18: ERROR[Main]: stack traceback:
2017-09-23 18:04:18: ERROR[Main]:    ...rs\morenavaj\Documents\minetest\bin\..\mods\pos\init.lua:3: in main chunk
2017-09-23 18:04:18: ERROR[Main]: Check debug.txt for details.

Put it in the clientmods folder

ah!
 

User avatar
Lone_Wolf
Member
 
Posts: 1789
Joined: Sun Apr 09, 2017 05:50
Location: You wouldn't believe me
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf or Somebody

Re: [ClientMod] Chat Position [pos]

by Lone_Wolf » Wed Sep 27, 2017 16:38

I've noticed the number of mods I can contribute to has decreased. I'm sticking with Github. Even though I don't like MS
 

User avatar
ManElevation
Member
 
Posts: 765
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [ClientMod] Chat Position [pos]

by ManElevation » Wed Sep 27, 2017 18:04

Lone_Wolf wrote:This might help
viewtopic.php?f=53&t=17830

I know how to do it just dint see that I was a clientmod
 


Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 1 guest