Raised This Month: $51 Target: $400
 12% 

How to use Orpheu to change player's name or other stuff


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Andyor
Junior Member
Join Date: Dec 2011
Old 09-15-2014 , 07:16   How to use Orpheu to change player's name or other stuff
Reply With Quote #1

as the title says, can i change a player's name (model or score or something else) with orpheu, i studied orpheu yeterday, hope someone could help me, thanks in advance.
Andyor is offline
andrept4
Senior Member
Join Date: Dec 2012
Location: Portugal
Old 09-15-2014 , 07:24   Re: How to use Orpheu to change player's name or other stuff
Reply With Quote #2

why is this in "SCRIPTING" section ? -_- no one will replay ...
__________________
andrept4 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-15-2014 , 07:26   Re: How to use Orpheu to change player's name or other stuff
Reply With Quote #3

You should not be using Orpheu to change a player's name. Just change a player's name with this:

set_user_info(id, "name", "new name")

"other stuff" doesn't really help anyone.

You should ask about what you want to do and people will try to help you. If it's possible to do it without Orpheu then that is the preferred method. If it requires Orpheu, you will be told such.
__________________
fysiks is offline
Andyor
Junior Member
Join Date: Dec 2011
Old 09-15-2014 , 07:59   Re: How to use Orpheu to change player's name or other stuff
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
You should not be using Orpheu to change a player's name. Just change a player's name with this:

set_user_info(id, "name", "new name")

"other stuff" doesn't really help anyone.

You should ask about what you want to do and people will try to help you. If it's possible to do it without Orpheu then that is the preferred method. If it requires Orpheu, you will be told such.
^^ , dude, so clever you are, yes, orpheu can operate memory directly, so if we know the mem address of player's name or score or other things, then we can replace every byte to another format byte, such as ansi to utf8.
Andyor is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-15-2014 , 18:27   Re: How to use Orpheu to change player's name or other stuff
Reply With Quote #5

Quote:
Originally Posted by Andyor View Post
^^ , dude, so clever you are, yes, orpheu can operate memory directly, so if we know the mem address of player's name or score or other things, then we can replace every byte to another format byte, such as ansi to utf8.
if the reason you want to learn this kind of stuff is to do drastic changes then you'd better look into the RAGE module and not oprheu

orpheu is still pretty limited
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-15-2014 , 19:22   Re: How to use Orpheu to change player's name or other stuff
Reply With Quote #6

Quote:
Originally Posted by Andyor View Post
^^ , dude, so clever you are, yes, orpheu can operate memory directly, so if we know the mem address of player's name or score or other things, then we can replace every byte to another format byte, such as ansi to utf8.
I know what Orpheu does and there is no reason to use it for trivial functions. Please ask a specific question on how to do something (do not mention Orpheu) and if Orpheu is needed, it will be stated.
__________________
fysiks is offline
Andyor
Junior Member
Join Date: Dec 2011
Old 09-16-2014 , 06:32   Re: How to use Orpheu to change player's name or other stuff
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
I know what Orpheu does and there is no reason to use it for trivial functions. Please ask a specific question on how to do something (do not mention Orpheu) and if Orpheu is needed, it will be stated.
ok , https://forums.alliedmods.net/showthread.php?t=248342
Andyor is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode