Pseudo launcher.
Autor
Wiadomość
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-12, 20:46 Pseudo launcher.
Od razu przejdę do właściwej treści:
Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi) Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
2.Wybierz pusty projekt.
3.Utwórz nowy plik xx.cpp, nadaj mu nazwę i wklej kod.
4. Na końcu wystarczy nacisnąć F5 aby skompilować i uruchomić program.
Jak edytować mój launcher ?
Połączenie z serwerem:
Wyszukaj linijkę 'system("start samp://*");
i w miejsce gwiazdki wstaw IP swojego serweram.
Połączenie ze stroną:
Wyszukaj linijkę 'system("start http://adresstrony.pl");
i zamiast adresstrony.pl wklej swój adres. WAŻNE! Nie zapomnij o tym żeby na początku było http://![/hide]
_________________
Więcej szczegółów
Wystawiono 2 piw(a):eloZiomek , SkateR121
Informacje
Nick w MP: Animatex
Na forum: 639 dni Posty: 25Respekt: 50
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-13, 17:21
Mogę zapewnić że działa
_________________
NET366
Ja sie nie poddaje
Informacje
Nick w MP: NET366
Na forum: 629 dni Posty: 427Piwa : 880 Respekt: 75 Głosy : 6
Wysłany: 2011-06-13, 18:28
a do czego to jest bo nie wiem zD
_________________
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-13, 18:30
Do SA:MP. Po drobnej edycji będzie łączyć Cię z serwerem lub stroną.
_________________
NET366
Ja sie nie poddaje
Informacje
Nick w MP: NET366
Na forum: 629 dni Posty: 427Piwa : 880 Respekt: 75 Głosy : 6
Wysłany: 2011-06-13, 19:03
i tylko tyle? Oromis , a napisal bym mi program na restart serwera dam + 10 reputy
_________________
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-13, 19:14
Na restart serwera to nie jest taka prosta sprawa
_________________
Pioruniasty
Piszę, więc jestem.
Informacje
Nick w MP: Piorun
Na forum: 1586 dni Posty: 903Piwa : 163 Respekt: 99,7 Głosy : 7
Wysłany: 2011-06-13, 22:31
działa pod win xp?
_________________ Project: San Andreas
Projekt serwera RP w MTA. Na razie istniejemy
jako strona na Facebook'u. Możesz nas polubić,
skomentować i oceniać naszą pracę.
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-13, 23:00
Powinien działać, nie sprawdzałem gdyż nie mam dostępu do tego systemu. Jednak myślę że to bez znaczenia, jeśli byłby jakieś problemy napisz na PW to postaram się pomóc.
_________________
Informacje
Na forum: 356 dni Posty: 6Piwa : 22 Respekt: 49,1
Wysłany: 2011-06-14, 13:57
A pomyślałeś, że w tym:
Kod:case IDC_BUTTON0: // button Graj
MessageBox(hwnd, Zaraz połączy się z serwerem..., Graj, MB_OK|MB_ICONINFORMATION);
system(start samp://178.63.220.26:7777);
on w linijce:
Kod:system(start samp://178.63.220.26:7777);
"samp://komentarz"
tak to wygląda ...
@Edit, przy kompilacji
Kod:1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): error C2017: illegal escape sequence
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): error C2015: too many characters in constant
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): error C2015: too many characters in constant
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): error C2015: too many characters in constant
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): error C2015: too many characters in constant
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): error C2017: illegal escape sequence
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(2): warning C4081: expected 'string'; found '/'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(4): warning C4083: expected 'string'; found identifier 'comctl32'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(31): error C2065: 'RICHED32' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(31): error C2228: left of '.DLL' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(35): error C2065: 'Viner' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(35): error C2146: syntax error : missing ')' before identifier 'Hand'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(35): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(49): error C2065: 'Zaraz' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(49): error C2146: syntax error : missing ')' before identifier 'połączy'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(49): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(50): error C2065: 'start' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(50): error C2146: syntax error : missing ')' before identifier 'samp'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(54): error C2065: 'Zaraz' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(54): error C2146: syntax error : missing ')' before identifier 'uruchomi'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(54): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(55): error C2065: 'start' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(55): error C2146: syntax error : missing ')' before identifier 'http'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(66): error C2065: 'Na' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(66): error C2146: syntax error : missing ')' before identifier 'pewno'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(66): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(83): error C2065: 'my_wnd_class_name_0' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(83): error C2065: 'Launcher' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(83): error C2143: syntax error : missing ')' before ':'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(83): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(93): error C2065: 'Button' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(93): error C2065: 'Graj' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(95): error C2065: 'Button' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(95): error C2017: illegal escape sequence
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(95): error C2065: 'Strona' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(95): error C2017: illegal escape sequence
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(95): error C2146: syntax error : missing ')' before identifier 'r'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(95): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(97): error C2065: 'RICHEDIT' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(97): error C2065: 'Zmiany' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(97): error C2143: syntax error : missing ')' before ':'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(97): error C2017: illegal escape sequence
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(97): error C2017: illegal escape sequence
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(97): error C2059: syntax error : ')'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(116): error C2065: 'my_wnd_class_name_0' : undeclared identifier
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(136): error C2146: syntax error : missing ';' before identifier 'wiadomość'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(136): error C2143: syntax error : missing ';' before '/'
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\xxx\desktop\The PROject\xx\xx\xx.cpp(137): error C2143: syntax error : missing ')' before ';'
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-14, 14:55
U mnie wszystko działało bez problemu, nie wiem dlaczego u Ciebie tak jest.
_________________
Informacje
Na forum: 356 dni Posty: 6Piwa : 22 Respekt: 49,1
Wysłany: 2011-06-14, 15:09
@Up, korzystasz z wersji pro visual studio?
Albo wyślij mi całą paczkę, wraz z releasem.
Pioruniasty
Piszę, więc jestem.
Informacje
Nick w MP: Piorun
Na forum: 1586 dni Posty: 903Piwa : 163 Respekt: 99,7 Głosy : 7
Wysłany: 2011-06-14, 18:19
Btw. mam te same errory. Windows xp
_________________ Project: San Andreas
Projekt serwera RP w MTA. Na razie istniejemy
jako strona na Facebook'u. Możesz nas polubić,
skomentować i oceniać naszą pracę.
Informacje
Nick w MP: Kepi$$
Na forum: 904 dni Posty: 54Piwa : 100 Respekt: 12,4 Głosy : 2
Wysłany: 2011-06-14, 19:00
Podeślij mi na PW swój kod. Postaram się coś zrobić.
_________________
Informacje
Na forum: 356 dni Posty: 6Piwa : 22 Respekt: 49,1
Wysłany: 2011-06-15, 12:23
Obowiązuje tutaj pewne ograniczenie PW i postów... Więc dam link do całego mojego projektu tutaj:
Odkryta wiadomość / Unhidden message(aby ją zobaczyć nie musisz nic robić) http://www.e-njoy.pl/download/Pliki.rar
Tagi: pseudo :: launcher.
Anonymous
Dołaczył: Wczoraj 0:00
Posty: 1
Skad: google.com
Anonymous Koniecznie zajrzyj na: